pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/pforth lang/pforth: replace -c89 with -std=c89



details:   https://anonhg.NetBSD.org/pkgsrc/rev/045871a1a2f9
branches:  trunk
changeset: 609892:045871a1a2f9
user:      marino <marino%pkgsrc.org@localhost>
date:      Fri Oct 12 16:25:21 2012 +0000

description:
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.

diffstat:

 lang/pforth/distinfo                          |   5 ++---
 lang/pforth/patches/patch-build_unix_Makefile |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 8533beb12a39 -r 045871a1a2f9 lang/pforth/distinfo
--- a/lang/pforth/distinfo      Fri Oct 12 15:37:12 2012 +0000
+++ b/lang/pforth/distinfo      Fri Oct 12 16:25:21 2012 +0000
@@ -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
diff -r 8533beb12a39 -r 045871a1a2f9 lang/pforth/patches/patch-build_unix_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pforth/patches/patch-build_unix_Makefile     Fri Oct 12 16:25:21 2012 +0000
@@ -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 \



Home | Main Index | Thread Index | Old Index