This is taken from src, and I guess it is needed here too.
Unbreaks math/py-numpy (at least) on macppc.
ok?
Eric.
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/g77/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 24 Jul 2010 23:05:08 -0000 1.5
+++ Makefile 31 Jul 2010 21:01:57 -0000
@@ -11,7 +11,7 @@
V = 3.3.5
PKGNAME = g77-$V
-REVISION = 3
+REVISION = 4
DISTFILES = g77-openbsd.tgz
CONFIG = ${MACHINE_ARCH}-unknown-openbsd${OSREV}
Index: patches/patch-gcc_config_rs6000_openbsd_h
===================================================================
RCS file: patches/patch-gcc_config_rs6000_openbsd_h
diff -N patches/patch-gcc_config_rs6000_openbsd_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-gcc_config_rs6000_openbsd_h 31 Jul 2010 21:01:57 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- gcc/config/rs6000/openbsd.h.orig Sat Jul 31 22:30:21 2010
++++ gcc/config/rs6000/openbsd.h Sat Jul 31 22:30:10 2010
+@@ -75,6 +75,9 @@ Boston, MA 02111-1307, USA. */
+ #undef STARTFILE_DEFAULT_SPEC
+ #define STARTFILE_DEFAULT_SPEC "%(startfile_openbsd)"
+
++#undef CRTSAVRES_DEFAULT_SPEC
++#define CRTSAVRES_DEFAULT_SPEC ""
++
+ #undef ENDFILE_DEFAULT_SPEC
+ #define ENDFILE_DEFAULT_SPEC "%(endfile_openbsd)"
+
Index: patches/patch-gcc_config_rs6000_sysv4_h
===================================================================
RCS file: patches/patch-gcc_config_rs6000_sysv4_h
diff -N patches/patch-gcc_config_rs6000_sysv4_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-gcc_config_rs6000_sysv4_h 31 Jul 2010 21:01:57 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- gcc/config/rs6000/sysv4.h.orig Sat Jul 31 22:32:19 2010
++++ gcc/config/rs6000/sysv4.h Sat Jul 31 22:32:10 2010
+@@ -1054,7 +1054,7 @@ do { \
+ %{mwindiss: %(endfile_windiss)} \
+ %{mcall-freebsd: crtsavres.o%s %(endfile_freebsd) } \
+ %{mcall-linux: crtsavres.o%s %(endfile_linux) } \
+-%{mcall-openbsd: crtsavres.o%s %(endfile_openbsd) } \
++%{mcall-openbsd: %(endfile_openbsd) } \
+ %{mcall-gnu: crtsavres.o%s %(endfile_gnu) } \
+ %{mcall-netbsd: crtsavres.o%s %(endfile_netbsd) } \
+ %{mvxworks: crtsavres.o%s %(endfile_vxworks) } \