From 1b29fdd8d13b794a7ba4314af387b9d988044dcc Mon Sep 17 00:00:00 2001 From: kristerw Date: Sat, 2 Aug 2003 20:38:56 +0000 Subject: [PATCH] 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. --- chat/i2cbd/distinfo | 4 ++-- chat/i2cbd/patches/patch-ab | 18 +++++++++++++----- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/chat/i2cbd/distinfo b/chat/i2cbd/distinfo index bee70c8868e1..778fb7491174 100644 --- a/chat/i2cbd/distinfo +++ b/chat/i2cbd/distinfo @@ -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 diff --git a/chat/i2cbd/patches/patch-ab b/chat/i2cbd/patches/patch-ab index 0db81752ab61..112daa50cabf 100644 --- a/chat/i2cbd/patches/patch-ab +++ b/chat/i2cbd/patches/patch-ab @@ -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