summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythtv/ChangeLog6
-rw-r--r--media-tv/mythtv/files/mythtv-0.22-x86-no-fpic.patch16
2 files changed, 21 insertions, 1 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index 1f7f2a151adb..cf6eb556659e 100644
--- a/media-tv/mythtv/ChangeLog
+++ b/media-tv/mythtv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/mythtv
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.305 2009/11/19 05:53:24 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.306 2009/11/19 06:11:58 cardoe Exp $
+
+ 19 Nov 2009; Doug Goldstein <cardoe@gentoo.org>
+ files/mythtv-0.22-x86-no-fpic.patch:
+ Update no -fPIC patch for x86
*mythtv-0.22_p22860 (19 Nov 2009)
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)