summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-02-06 08:59:49 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-02-06 08:59:49 +0000
commite38ba299353af63b7383e229d744decf360bfddd (patch)
treed58f018d70a5584ff05230f2ccab66d21c6d35e6 /games-fps/duke3d/files
parentversion bump by James Ausmus <james.ausmus@gmail.com>, bug #257850 (diff)
downloadgentoo-2-e38ba299353af63b7383e229d744decf360bfddd.tar.gz
gentoo-2-e38ba299353af63b7383e229d744decf360bfddd.tar.bz2
gentoo-2-e38ba299353af63b7383e229d744decf360bfddd.zip
Fix compilation with gcc-4.3 and -O2. Bug #26968
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64)
Diffstat (limited to 'games-fps/duke3d/files')
-rw-r--r--games-fps/duke3d/files/duke3d-20040817-noinline.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/games-fps/duke3d/files/duke3d-20040817-noinline.patch b/games-fps/duke3d/files/duke3d-20040817-noinline.patch
new file mode 100644
index 000000000000..a41c5c01d063
--- /dev/null
+++ b/games-fps/duke3d/files/duke3d-20040817-noinline.patch
@@ -0,0 +1,18 @@
+--- source/buildengine/engine.c.old 2009-02-06 09:11:54.000000000 +0100
++++ source/buildengine/engine.c 2009-02-06 09:19:12.000000000 +0100
+@@ -391,6 +391,7 @@
+ modify exact [eax ebx ecx]\
+
+ #elif (defined __GNUC__) || (defined __ICC)
++ __attribute__ ((noinline))
+ static long nsqrtasm(int i1)
+ {
+ long retval;
+@@ -601,6 +602,7 @@
+
+ #elif (defined __GNUC__) || (defined __ICC)
+
++ __attribute__ ((noinline))
+ int setgotpic(long i1)
+ {
+ int retval = 0;