From 2b305de8d42b484c70a9541932c13f2c500419d2 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 29 Sep 2007 12:32:22 +0000 Subject: [PATCH] Fixed build errors on NetBSD 4.99. --- comms/fidogate/Makefile | 5 ++++- comms/fidogate/distinfo | 3 ++- comms/fidogate/patches/patch-bf | 16 ++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 comms/fidogate/patches/patch-bf diff --git a/comms/fidogate/Makefile b/comms/fidogate/Makefile index b5053b78b7ae..fcfbd0ad6cf0 100644 --- a/comms/fidogate/Makefile +++ b/comms/fidogate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.57 2007/08/30 16:22:00 joerg Exp $ +# $NetBSD: Makefile,v 1.58 2007/09/29 12:32:22 rillig Exp $ # DISTNAME= fidogate-4.4.10 @@ -34,6 +34,9 @@ SUBST_SED.paths+= -e "s,@PKG_SYSCONFDIR@,"${PKG_SYSCONFDIR:Q}",g" SUBST_SED.paths+= -e "s,@PKGINFODIR@,"${PKGINFODIR:Q}",g" SUBST_STAGE.paths= pre-build +# Too many schar/uchar issues. +BUILDLINK_TRANSFORM+= rm:-Werror + OWN_DIRS= ${PKG_SYSCONFDIR}/fidogate INSTALLATION_DIRS= ${EGDIR} lib/fidogate \ lib/fidogate/bin share/doc/fidogate \ diff --git a/comms/fidogate/distinfo b/comms/fidogate/distinfo index 600baf04e2bf..b1feeedf02e8 100644 --- a/comms/fidogate/distinfo +++ b/comms/fidogate/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2006/03/20 03:59:39 jlam Exp $ +$NetBSD: distinfo,v 1.15 2007/09/29 12:32:22 rillig Exp $ SHA1 (fidogate-4.4.10.tar.gz) = 531305ac82963d5bd6398d2e8e350676bbc9c5eb RMD160 (fidogate-4.4.10.tar.gz) = 09b8dfa7304089ff27c7c39c1b6004aef00edadf @@ -33,3 +33,4 @@ SHA1 (patch-bb) = 459c67658e27e3523b6090769f4d0b0527eac07a SHA1 (patch-bc) = 8a7cd05276c0e0e70724cdbb91b2583a2b01deff SHA1 (patch-bd) = 86e96bb67283d2b90401d63921e7b4c9151a6590 SHA1 (patch-be) = 44c722acbcaed7f5497c54602460046492d60827 +SHA1 (patch-bf) = c576f96babb5297088e5cb827733e657a7335fa8 diff --git a/comms/fidogate/patches/patch-bf b/comms/fidogate/patches/patch-bf new file mode 100644 index 000000000000..35f7c5776cd8 --- /dev/null +++ b/comms/fidogate/patches/patch-bf @@ -0,0 +1,16 @@ +$NetBSD: patch-bf,v 1.1 2007/09/29 12:32:22 rillig Exp $ + +Unused variable. + +--- src/include/prototypes.h.orig 2004-08-22 22:19:12.000000000 +0200 ++++ src/include/prototypes.h 2007-09-29 14:29:31.000000000 +0200 +@@ -49,9 +49,6 @@ int list_init (char ***, char *); + int list_match (register int, char **, char **); + #endif + +-/* address.c */ +-extern int i_flag; +- + void addr_restricted (int); + int addr_is_restricted (void); + void addr_ignore (int);