r1481 - in /unstable/ffmpeg-debian/debian: changelog patches/011_fix_pic_mips.diff patches/series

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Sep 21 16:12:24 UTC 2008


Author: siretart
Date: Sun Sep 21 16:12:24 2008
New Revision: 1481

URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=1481
Log:
Since gcc-4.3 mips/mipsel needs an explicit PIC flag for shared library
code. (Closes: #498216, 498647, 498397)

Added:
    unstable/ffmpeg-debian/debian/patches/011_fix_pic_mips.diff
Modified:
    unstable/ffmpeg-debian/debian/changelog
    unstable/ffmpeg-debian/debian/patches/series

Modified: unstable/ffmpeg-debian/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/ffmpeg-debian/debian/changelog?rev=1481&op=diff
==============================================================================
--- unstable/ffmpeg-debian/debian/changelog (original)
+++ unstable/ffmpeg-debian/debian/changelog Sun Sep 21 16:12:24 2008
@@ -1,3 +1,11 @@
+ffmpeg-debian (0.svn20080206-13) unstable; urgency=low
+
+  [Thiemo Seufer]
+  * Since gcc-4.3 mips/mipsel needs an explicit PIC flag for shared library
+    code. (Closes: #498216, 498647, 498397)
+
+ -- Reinhard Tartler <siretart at tauware.de>  Sun, 21 Sep 2008 17:03:50 +0200
+
 ffmpeg-debian (0.svn20080206-12) unstable; urgency=low
 
   * enable vhook in all flavors. (Closes: #490272, LP: #260296)

Added: unstable/ffmpeg-debian/debian/patches/011_fix_pic_mips.diff
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/ffmpeg-debian/debian/patches/011_fix_pic_mips.diff?rev=1481&op=file
==============================================================================
--- unstable/ffmpeg-debian/debian/patches/011_fix_pic_mips.diff (added)
+++ unstable/ffmpeg-debian/debian/patches/011_fix_pic_mips.diff Sun Sep 21 16:12:24 2008
@@ -1,0 +1,22 @@
+Since gcc-4.3 mips/mipsel needs an explicit PIC flag for shared library
+code.
+
+Until gcc-4.2 Linux/MIPS always used PIC code, even for executables.
+This changed with gcc-4.3, and with it the compiler default changed
+to non-PIC. As a result, -fPIC now needs to be explicitly supplied
+for shared library builds. The shared library code model remains
+the same as with gcc-4.2.
+
+Forwarded upstream at http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/74846/
+
+--- a/configure
++++ b/configure
+@@ -1811,7 +1811,7 @@ if enabled shared; then
+     # LIBOBJFLAGS may have already been set in the OS configuration
+     if test -z "$LIBOBJFLAGS" ; then
+         case "$arch" in
+-            x86_64|ia64|alpha|sparc*|power*|parisc*) LIBOBJFLAGS='$(PIC)' ;;
++            x86_64|ia64|alpha|sparc*|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;;
+         esac
+     fi
+ fi

Modified: unstable/ffmpeg-debian/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/ffmpeg-debian/debian/patches/series?rev=1481&op=diff
==============================================================================
--- unstable/ffmpeg-debian/debian/patches/series (original)
+++ unstable/ffmpeg-debian/debian/patches/series Sun Sep 21 16:12:24 2008
@@ -1,5 +1,6 @@
 001_fixup_version.diff
 010_fix_ftbfs_hppa.diff
+011_fix_pic_mips.diff
 10_fix_kfreebsd_libx11_linkage.diff
 010_proper_rpath.diff
 013_strip_unneeded_linker_flags.diff




More information about the pkg-multimedia-commits mailing list