Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lang/pforth: replace -c89 with -std=c89

GCC 4.7 doesn't recognized -c89 and breaks immediate.  Use the -std
switch to fix the build.
  • Loading branch information...
commit b8f853d51e27ed885c0dd3fce1f211acfcea92f8 1 parent 4635a55
marino authored
View
5 lang/pforth/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2010/11/22 01:25:48 asau Exp $
+$NetBSD: distinfo,v 1.8 2012/10/12 16:25:21 marino Exp $
SHA1 (pforth_v27_20101121.zip) = 66b9f3927a877afecca2c303157b7127291802f6
RMD160 (pforth_v27_20101121.zip) = e39965a79d4845763b6b767f5f7781f0d3758208
Size (pforth_v27_20101121.zip) = 209538 bytes
-SHA1 (patch-aa) = da39a3ee5e6b4b0d3255bfef95601890afd80709
-SHA1 (patch-ab) = da39a3ee5e6b4b0d3255bfef95601890afd80709
+SHA1 (patch-build_unix_Makefile) = 8f613560795eb8aaf212a3a54e19bd97f96d1b5f
View
15 lang/pforth/patches/patch-build_unix_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-build_unix_Makefile,v 1.1 2012/10/12 16:25:21 marino Exp $
+
+GCC 4.7.2 breaks on the unrecognized -c89 switch. Use -std= instead.
+
+--- build/unix/Makefile.orig 2010-08-27 17:50:07.000000000 +0000
++++ build/unix/Makefile
+@@ -24,7 +24,7 @@ PFORTHAPP = pforth_standalone
+ WIDTHOPT=
+
+ FULL_WARNINGS = \
+- -c89 \
++ -std=c89 \
+ -fsigned-char \
+ -fno-builtin \
+ -fno-unroll-loops \
Please sign in to comment.
Something went wrong with that request. Please try again.