diff --git a/flac-1.1.4-hide-byteswap.patch b/flac-1.1.4-hide-byteswap.patch new file mode 100644 index 0000000..a96c132 --- /dev/null +++ b/flac-1.1.4-hide-byteswap.patch @@ -0,0 +1,10 @@ +--- flac-1.1.4/src/libFLAC/md5.c 2006-11-11 22:56:47.000000000 +0000 ++++ flac-1.1.4.new/src/libFLAC/md5.c 2007-04-12 13:41:01.000000000 +0100 +@@ -143,6 +143,7 @@ FLAC__MD5Transform(FLAC__uint32 buf[4], + + #endif + ++static + FLaC__INLINE + void + byteSwap(FLAC__uint32 *buf, unsigned words) diff --git a/flac.spec b/flac.spec index 2d8b1bf..a6d34a0 100644 --- a/flac.spec +++ b/flac.spec @@ -1,10 +1,11 @@ Summary: An encoder/decoder for the Free Lossless Audio Codec Name: flac Version: 1.1.4 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPL/GPL Group: Applications/Multimedia Source: http://prdownloads.sourceforge.net/flac/flac-%{version}.tar.gz +Patch2: flac-1.1.4-hide-byteswap.patch Patch3: flac-1.1.3-gnu-stack.patch Patch4: flac-1.1.3-noxmms.patch Patch5: flac-1.1.4-link-ogg.patch @@ -35,6 +36,7 @@ will use the Free Lossless Audio Codec. %prep %setup -q +%patch2 -p1 -b .extra-sym %patch3 -p1 -b .gnu-stack %patch4 -p1 -b .noxmms %patch5 -p1 -b .link-ogg @@ -78,6 +80,10 @@ rm -rf %{buildroot} %{_datadir}/aclocal/*.m4 %changelog +* Thu Apr 12 2007 - Bastien Nocera - 1.1.4-4 +- The byteSwap symbol shouldn't be global, reported by Joe Orton + (#215920) + * Wed Feb 14 2007 - Bastien Nocera - 1.1.4-3 - Also include the new pkgconfig files