Make this compile on NetBSD-1.6.1/shark.

The package is compiled with -Werror, but the sharks headers are not
-Wtraditional safe, so the buld failed.  Remove the silly -Wtraditional.
This commit is contained in:
kristerw 2003-08-02 20:38:56 +00:00
parent 17e1183c73
commit 1b29fdd8d1
2 changed files with 15 additions and 7 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.2 2003/07/29 16:25:56 jmmv Exp $
$NetBSD: distinfo,v 1.3 2003/08/02 20:38:56 kristerw Exp $
SHA1 (i2cbd-2.0_BETA0.tar.gz) = dd76db90442f3ccd8e3048cbdb313740ddcfb792
Size (i2cbd-2.0_BETA0.tar.gz) = 70622 bytes
SHA1 (patch-aa) = 0151f8e68be11e759425d2e9569df3d465c50931
SHA1 (patch-ab) = 8bdf6b8f1b59f16a9e996fe51fd0ceb9a0b35115
SHA1 (patch-ab) = 11501fabf5effb3a2e8cfad78a7200064237b471
SHA1 (patch-ac) = ca8e6b7324a22fb9ecabf2374e34febb55196e28

View file

@ -1,7 +1,6 @@
$NetBSD: patch-ab,v 1.2 2003/07/29 16:25:56 jmmv Exp $
--- config.mk.orig 2001-10-30 20:50:40.000000000 +0100
+++ config.mk
$NetBSD: patch-ab,v 1.3 2003/08/02 20:38:57 kristerw Exp $
--- config.mk.orig Tue Oct 30 20:50:40 2001
+++ config.mk Sat Aug 2 22:28:11 2003
@@ -3,7 +3,6 @@
# For copying and distribution information, see the file COPYING.
#
@ -10,7 +9,16 @@ $NetBSD: patch-ab,v 1.2 2003/07/29 16:25:56 jmmv Exp $
BINDIR = ${PREFIX}/sbin
MANDIR = ${PREFIX}/man
MAN8DIR = ${PREFIX}/man/man8
@@ -19,7 +18,7 @@ EXTRAWARNS = -Wshadow -Wpointer-arith -W
@@ -11,7 +10,7 @@
INSTALL = ../install-sh
-WARNS = -Wall -Wtraditional -ansi -pedantic
+WARNS = -Wall -ansi -pedantic
EXTRAWARNS = -Wshadow -Wpointer-arith -Werror -Wcast-qual -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
-Wnested-externs
@@ -19,7 +18,7 @@
# affect portability to some platforms. The others here are irrelevant.
BADWARNS = -Wwrite-strings -Wconversion -Waggregate-return -Wredundant-decls
DEBUG = -DDEBUG -DVERBOSE -g