File: taglib-1.8.patch

package info (click to toggle)
tagpy 2013.1-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 492 kB
  • sloc: python: 1,306; cpp: 811; makefile: 31; sh: 5
file content (27 lines) | stat: -rw-r--r-- 842 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From bbcfeb0e0f67db9e4a76b0294aceb876ac1162d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <nijel@debian.org>
Date: Thu, 8 Oct 2015 14:14:11 -0700
Subject: Hardcode taglib version

Bug: https://github.com/inducer/tagpy/issues/1
Patch-Name: taglib-1.8.patch
---
 src/wrapper/common.hpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/wrapper/common.hpp b/src/wrapper/common.hpp
index 6ebe585..63c5682 100644
--- a/src/wrapper/common.hpp
+++ b/src/wrapper/common.hpp
@@ -50,10 +50,7 @@ using namespace std;
 
 
 
-#define TAGPY_TAGLIB_HEX_VERSION \
-  (TAGLIB_MAJOR_VERSION << 16) + \
-  (TAGLIB_MINOR_VERSION << 8) + \
-  (TAGLIB_PATCH_VERSION << 0)
+#define TAGPY_TAGLIB_HEX_VERSION  0x10800
 
 #if (TAGPY_TAGLIB_HEX_VERSION < 0x10400)
 #warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!