summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2009-11-19 06:11:58 +0000
committerDoug Goldstein <cardoe@gentoo.org>2009-11-19 06:11:58 +0000
commitd3b59594ef98f9f53b89a0b529601a7cc718389d (patch)
tree9f535332d700768438ae0af0a24942893d0e6b4c /media-tv/mythtv/files
parentupstream fixes for channel scanner failing on SD New Zealand channels. Fix fo... (diff)
downloadgentoo-2-d3b59594ef98f9f53b89a0b529601a7cc718389d.tar.gz
gentoo-2-d3b59594ef98f9f53b89a0b529601a7cc718389d.tar.bz2
gentoo-2-d3b59594ef98f9f53b89a0b529601a7cc718389d.zip
Update no -fPIC patch for x86
(Portage version: 2.1.7.5/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r--media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch b/media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch
index b2e9791d702c..fcec220c382f 100644
--- a/media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch
+++ b/media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch
@@ -1,3 +1,19 @@
+Index: libs/libswscale/libswscale.pro
+===================================================================
+--- libs/libswscale/libswscale.pro (revision 22859)
++++ libs/libswscale/libswscale.pro (working copy)
+@@ -14,6 +14,11 @@
+ QMAKE_CFLAGS_DEBUG += -fomit-frame-pointer
+ }
+
++# gcc-4.2 and newer can not compile with PIC on x86
++contains(ARCH_X86_32, yes) {
++ QMAKE_CFLAGS_SHLIB =
++}
++
+ !profile:QMAKE_CFLAGS_DEBUG += -O
+
+ INCLUDEPATH = .. ../..
Index: libs/libavcodec/libavcodec.pro
===================================================================
--- libs/libavcodec/libavcodec.pro (revision 22859)