Accepting request 140603 from home:klaussfreire:branches:multimedia:libs
It seems taglib 1.8 forgot to update version defines. Found this trying to adapt python-tagpy to 1.8, noticed wrong defines (still saying 1.7). It could conceivably rain on dependencies, but only if they're checking those defines the wrong way (ie: if version == 1.7 instead of >= 1.8). Doubtful. OBS-URL: https://build.opensuse.org/request/show/140603 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/taglib?expand=0&rev=43
This commit is contained in:
parent
8b182befa5
commit
a874440dba
12
taglib-1.8-version_fix.patch
Normal file
12
taglib-1.8-version_fix.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ur taglib-1.8/taglib/toolkit/taglib.h taglib-1.8.nu/taglib/toolkit/taglib.h
|
||||
--- taglib-1.8/taglib/toolkit/taglib.h 2012-09-06 15:03:15.000000000 -0300
|
||||
+++ taglib-1.8.nu/taglib/toolkit/taglib.h 2012-11-08 01:47:51.088000009 -0300
|
||||
@@ -27,7 +27,7 @@
|
||||
#define TAGLIB_H
|
||||
|
||||
#define TAGLIB_MAJOR_VERSION 1
|
||||
-#define TAGLIB_MINOR_VERSION 7
|
||||
+#define TAGLIB_MINOR_VERSION 8
|
||||
#define TAGLIB_PATCH_VERSION 0
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1))
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 8 04:49:38 UTC 2012 - klaussfreire@gmail.com
|
||||
|
||||
- Add patch taglib-1.8-version_fix.patch: fix version defines
|
||||
in taglib.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 10:11:52 UTC 2012 - cgiboudeaux@gmx.com
|
||||
|
||||
|
@ -28,6 +28,8 @@ Source1: %{name}.desktop
|
||||
Source100: baselibs.conf
|
||||
Patch0: taglib-1.6-ds-rusxmms.patch
|
||||
Patch1: taglib-1.7.2-doxygen.patch
|
||||
# PATCH-FIX-UPSTREAM taglib-1.8-version_fix.patch - fix version defines in taglib.h
|
||||
Patch2: taglib-1.8-version_fix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake
|
||||
BuildRequires: doxygen
|
||||
@ -97,6 +99,7 @@ This package contains development files for taglib.
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
|
Loading…
Reference in New Issue
Block a user