Antoine Jacoutot writes:

> There seems to be a problem with gnash under amd64.

Could you give this a try please?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/gnash/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile    20 Nov 2006 20:37:51 -0000      1.5
+++ Makefile    24 Nov 2006 22:28:09 -0000
@@ -76,4 +76,8 @@ SHARED_LIBS +=        gnashserver 1.0
 SHARED_LIBS += gnashbackend 1.0
 SHARED_LIBS += gnashgui 1.0
 
+.if ${MACHINE_ARCH} == "amd64"
+CFLAGS+=-O0
+.endif
+
 .include <bsd.port.mk>
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure     24 Nov 2006 22:28:09 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- configure.orig     Thu Nov 23 22:51:17 2006
++++ configure  Thu Nov 23 22:58:18 2006
+@@ -49183,3 +49183,17 @@ echo "$as_me: error: Currently only fork
+    { (exit 1); exit 1; }; }
+ fi
+ 
++case "${host}" in
++     i386-*-openbsd*)
++     openbsd_os=openbsd
++     ;;
++     *64-*-openbsd*)
++     openbsd_os=openbsd
++
++cat >>confdefs.h <<\_ACEOF
++#define WORDSIZE 64
++_ACEOF
++
++     ;;
++esac
++


Reply via email to