summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-06-30 02:41:03 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-06-30 02:41:03 +0000
commit1d7532a8228069d45d4ea2a6334907c3dc06c785 (patch)
treec101f3d1e6184b0d4fde33b3acada1276534ed54 /net-www/gplflash/files/gplflash-0.4.10-gcc3-gentoo.diff
parentmasked gplflash-0.4.10-r1 until it's known to work with gcc2 (diff)
downloadgentoo-2-1d7532a8228069d45d4ea2a6334907c3dc06c785.tar.gz
gentoo-2-1d7532a8228069d45d4ea2a6334907c3dc06c785.tar.bz2
gentoo-2-1d7532a8228069d45d4ea2a6334907c3dc06c785.zip
new support for gcc3 etc.
Diffstat (limited to 'net-www/gplflash/files/gplflash-0.4.10-gcc3-gentoo.diff')
-rw-r--r--net-www/gplflash/files/gplflash-0.4.10-gcc3-gentoo.diff33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-www/gplflash/files/gplflash-0.4.10-gcc3-gentoo.diff b/net-www/gplflash/files/gplflash-0.4.10-gcc3-gentoo.diff
new file mode 100644
index 000000000000..a19f6fcf0408
--- /dev/null
+++ b/net-www/gplflash/files/gplflash-0.4.10-gcc3-gentoo.diff
@@ -0,0 +1,33 @@
+diff -u -r flash-0.4.10.old/Lib/shape.cc flash-0.4.10/Lib/shape.cc
+--- flash-0.4.10.old/Lib/shape.cc Wed Jun 7 19:11:08 2000
++++ flash-0.4.10/Lib/shape.cc Tue Jun 25 12:03:56 2002
+@@ -22,6 +22,8 @@
+
+ #include "swf.h"
+
++#include <math.h>
++
+ #ifdef RCSID
+ static char *rcsid = "$Id: gplflash-0.4.10-gcc3-gentoo.diff,v 1.1 2002/06/30 02:41:02 mkennedy Exp $";
+ #endif
+diff -u -r flash-0.4.10.old/Makefile flash-0.4.10/Makefile
+--- flash-0.4.10.old/Makefile Mon Jun 12 09:19:14 2000
++++ flash-0.4.10/Makefile Tue Jun 25 12:00:07 2002
+@@ -1,4 +1,4 @@
+-SUBDIRS= Jpeg Zlib Lib Player Plugin Kflash
++SUBDIRS= Jpeg Zlib Lib Player Plugin
+
+ all:
+ for subdir in $(SUBDIRS); do (cd $$subdir; $(MAKE)); done
+diff -u -r flash-0.4.10.old/Player/Makefile flash-0.4.10/Player/Makefile
+--- flash-0.4.10.old/Player/Makefile Wed Jun 7 19:19:50 2000
++++ flash-0.4.10/Player/Makefile Tue Jun 25 12:09:34 2002
+@@ -1,7 +1,7 @@
+ FLASH=../Lib
+ CPPFLAGS=-I$(FLASH)
+ CFLAGS=-O3
+-LIBS = $(FLASH)/libflash.a ../Zlib/libz.a ../Jpeg/libjpeg.a -L/usr/X11R6/lib -lX11 -lXext -lm
++LIBS = $(FLASH)/libflash.a ../Zlib/libz.a ../Jpeg/libjpeg.a -L/usr/X11R6/lib -lX11 -lXext -lm -lstdc++
+ CC=gcc
+ LDFLAGS=
+