pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nqc Use valid compiler opations. Should fix clan...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62e990c81f92
branches:  trunk
changeset: 602933:62e990c81f92
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Apr 22 21:42:42 2012 +0000

description:
Use valid compiler opations. Should fix clang build.

diffstat:

 devel/nqc/distinfo         |   4 ++--
 devel/nqc/patches/patch-aa |  26 +++++++++++++++++++++-----
 2 files changed, 23 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r daa1d64fe885 -r 62e990c81f92 devel/nqc/distinfo
--- a/devel/nqc/distinfo        Sun Apr 22 21:15:30 2012 +0000
+++ b/devel/nqc/distinfo        Sun Apr 22 21:42:42 2012 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.6 2011/11/25 21:48:02 joerg Exp $
+$NetBSD: distinfo,v 1.7 2012/04/22 21:42:42 dholland Exp $
 
 SHA1 (nqc-2.3.r1.tar.gz) = 40adcd87c12fc23c600899a6a704620ef2208488
 RMD160 (nqc-2.3.r1.tar.gz) = 2f7a435a99cb207814a8f357b701b1cc1fee2964
 Size (nqc-2.3.r1.tar.gz) = 193028 bytes
-SHA1 (patch-aa) = 0682d30f8c98e6b152e7227d5526a79bff91707b
+SHA1 (patch-aa) = ac916cb16c619b4ccd15fa1a1eba5c93a369abfb
 SHA1 (patch-ab) = 6fbe6b629ac170475cfeffb8848ba8337d4a13cd
 SHA1 (patch-ac) = d189cbbae24c2aba43aab100c4bb19c2ee24b89f
 SHA1 (patch-compiler_AsmStmt.h) = 93c11a7d8b76f5bf7dd29e92cdbe2c4568c357e4
diff -r daa1d64fe885 -r 62e990c81f92 devel/nqc/patches/patch-aa
--- a/devel/nqc/patches/patch-aa        Sun Apr 22 21:15:30 2012 +0000
+++ b/devel/nqc/patches/patch-aa        Sun Apr 22 21:42:42 2012 +0000
@@ -1,8 +1,13 @@
-$NetBSD: patch-aa,v 1.2 2001/05/14 20:38:47 nathanw Exp $
+$NetBSD: patch-aa,v 1.3 2012/04/22 21:42:42 dholland Exp $
 
---- Makefile.orig      Sun Apr 15 20:56:31 2001
-+++ Makefile   Mon May 14 16:15:17 2001
-@@ -34,8 +34,8 @@
+- configure for pkgsrc
+- hardwire NetBSD instead of Linux serial port name (XXX: wrong)
+- use -O* options that really exist (required by clang)
+- don't use -W options that aren't defined for for C++
+
+--- Makefile.orig      2001-04-16 00:56:31.000000000 +0000
++++ Makefile
+@@ -34,8 +34,8 @@ CC=g++
  #
  # Pick your YACC processor
  #
@@ -13,7 +18,7 @@
  
  #
  # Define the FLEX processor
-@@ -51,11 +51,11 @@
+@@ -51,11 +51,11 @@ FLEX = flex
  # Use this to define the default device driver name
  # for serial port connections.
  #
@@ -28,3 +33,14 @@
  MANEXT=1
  
  
+@@ -67,8 +67,8 @@ MV=mv -f
+ RM=rm -f
+ 
+ IFLAGS=-Iplatform -Ircxlib -Inqc -Icompiler
+-WFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes
+-CFLAGS = -O6 -pipe $(IFLAGS) $(WFLAGS) -DDEFAULT_SERIAL_NAME='$(DEFAULT_SERIAL_NAME)'
++WFLAGS=-Wall #-Wstrict-prototypes -Wmissing-prototypes
++CFLAGS = -O3 -pipe $(IFLAGS) $(WFLAGS) -DDEFAULT_SERIAL_NAME='$(DEFAULT_SERIAL_NAME)'
+ 
+ OBJ = $(NQCOBJ) $(COBJ) $(RCXOBJ) $(POBJ)
+ 



Home | Main Index | Thread Index | Old Index