summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2006-02-09 01:29:40 +0000
committerMark Loeser <halcy0n@gentoo.org>2006-02-09 01:29:40 +0000
commitbbbb61646fe1cd901aadb0199c40cf0dbe52e53f (patch)
tree7e67da83bb6d33c3727953881df1f6f9c01f2412 /media-gfx/povray/files
parentversion bmp (diff)
downloadgentoo-2-bbbb61646fe1cd901aadb0199c40cf0dbe52e53f.tar.gz
gentoo-2-bbbb61646fe1cd901aadb0199c40cf0dbe52e53f.tar.bz2
gentoo-2-bbbb61646fe1cd901aadb0199c40cf0dbe52e53f.zip
Add patch to fix compilation with gcc-4 on ppc64; bug #118156
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-gfx/povray/files')
-rw-r--r--media-gfx/povray/files/digest-povray-3.6.1-r12
-rw-r--r--media-gfx/povray/files/povray-3.6.1-configure.patch24
2 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/povray/files/digest-povray-3.6.1-r1 b/media-gfx/povray/files/digest-povray-3.6.1-r1
index ea0c793199a3..4de2b2aa24e4 100644
--- a/media-gfx/povray/files/digest-povray-3.6.1-r1
+++ b/media-gfx/povray/files/digest-povray-3.6.1-r1
@@ -1 +1,3 @@
MD5 b5789bb7eeaed0809c5c82d0efda571d povray-3.6.tar.bz2 8200160
+RMD160 84ba679da66089f192cc1bfcf8bdd498e736a9a3 povray-3.6.tar.bz2 8200160
+SHA256 4e8a7fecd44807343b6867e1f2440aa0e09613d6d69a7385ac48f4e5e7737a73 povray-3.6.tar.bz2 8200160
diff --git a/media-gfx/povray/files/povray-3.6.1-configure.patch b/media-gfx/povray/files/povray-3.6.1-configure.patch
new file mode 100644
index 000000000000..6cc0afa28902
--- /dev/null
+++ b/media-gfx/povray/files/povray-3.6.1-configure.patch
@@ -0,0 +1,24 @@
+--- povray-3.6.1/configure.ac 2006-01-15 20:11:41.000000000 +0000
++++ povray-3.6.1/configure.ac 2006-01-15 20:11:19.000000000 +0000
+@@ -1051,11 +1051,19 @@
+ # PPC 7400 (aka G4). To be precise, the vector instructions are new
+ # in the four digit model number PowerPC processors (aka G4), but gcc
+ # cannot (as of February 2003) use them automatically anyway! [trf]
+- for pov_flags in "-mpowerpc" "-mcpu=750 -mtune=7450" "-mmultiple" "-mstring" "-mfused-madd"; do
++ if "$host" != powerpc64* ; then
++ for pov_flags in "-mpowerpc" "-mcpu=750 -mtune=7450"; do
++ POV_PROG_CXX_FLAGS([$pov_flags],
++ [if test "$subdirs"; then { POV_PROG_CC_FLAGS([$pov_flags]) }; fi]
++ )
++ done
++ fi
++ for pov_flags in "-mmultiple" "-mstring" "-mfused-madd"; do
+ POV_PROG_CXX_FLAGS([$pov_flags],
+- [if test "$subdirs"; then { POV_PROG_CC_FLAGS([$pov_flags]) }; fi]
++ [if test "$subdirs"; then { POV_PROG_CC_FLAGS([$pov_flags]) }; fi]
+ )
+ done
++
+ ;;
+
+ sparc-*)