aboutsummaryrefslogtreecommitdiff
path: root/lang/mit-scheme
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2007-10-23 11:15:48 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2007-10-23 11:15:48 +0000
commitbf71fa9ae3db6d93e93631f074945b28cfcbec2d (patch)
treead29b65472c5ab5c066f5727cc9df339afadd72c /lang/mit-scheme
parentaf520b1e1da53ae46753f07b4f286935947e2366 (diff)
downloadports-bf71fa9ae3db6d93e93631f074945b28cfcbec2d.tar.gz
ports-bf71fa9ae3db6d93e93631f074945b28cfcbec2d.zip
Notes
Diffstat (limited to 'lang/mit-scheme')
-rw-r--r--lang/mit-scheme/Makefile8
-rw-r--r--lang/mit-scheme/files/patch-obstack.h14
2 files changed, 15 insertions, 7 deletions
diff --git a/lang/mit-scheme/Makefile b/lang/mit-scheme/Makefile
index 8e5e5956c32f..f279f5ca2bfe 100644
--- a/lang/mit-scheme/Makefile
+++ b/lang/mit-scheme/Makefile
@@ -31,10 +31,4 @@ do-install:
@cd ${WRKDIR}/lib && ${PAX} -rw mit-scheme ${PREFIX}/lib
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/mit-scheme
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/mit-scheme/files/patch-obstack.h b/lang/mit-scheme/files/patch-obstack.h
new file mode 100644
index 000000000000..6466c51ce2d3
--- /dev/null
+++ b/lang/mit-scheme/files/patch-obstack.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- obstack.h.orig
++++ obstack.h
+@@ -231,7 +231,7 @@
+
+ #define obstack_blank_fast(h,n) ((h)->next_free += (n))
+
+-#if defined (__GNUC__) && defined (__STDC__)
++#if defined (USE_OBSTACK_MACROS) && defined (__GNUC__) && defined (__STDC__)
+
+ /* For GNU C, if not -traditional,
+ we can define these macros to compute all args only once