From 23f0cc89cb25eb976905dffb1154b2e359864db8 Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 13 Mar 2006 00:16:41 +0000 Subject: Do not declare a static variable in a header file as non-static. This makes the package build with gcc-4. --- pkgtools/pkg_select/distinfo | 3 ++- pkgtools/pkg_select/patches/patch-ab | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 pkgtools/pkg_select/patches/patch-ab (limited to 'pkgtools') diff --git a/pkgtools/pkg_select/distinfo b/pkgtools/pkg_select/distinfo index 32bd35581ce..ed2bbd95176 100644 --- a/pkgtools/pkg_select/distinfo +++ b/pkgtools/pkg_select/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2006/03/13 00:13:37 minskim Exp $ +$NetBSD: distinfo,v 1.4 2006/03/13 00:16:41 minskim Exp $ SHA1 (pkg_select-20050817.tar.gz) = a7e22c666e4098c44cf6100a3b5e1cbcbeb48375 RMD160 (pkg_select-20050817.tar.gz) = 0a16ea710303471730b7dbc0399a34d5e7cfff8b Size (pkg_select-20050817.tar.gz) = 45184 bytes SHA1 (patch-aa) = c59ecd6d4cfdde450aac1f2794ab7d42da8cbc07 +SHA1 (patch-ab) = a8750c8a5603fa63e0fc17c4be3db7cd340e75b7 diff --git a/pkgtools/pkg_select/patches/patch-ab b/pkgtools/pkg_select/patches/patch-ab new file mode 100644 index 00000000000..6dcc1799a69 --- /dev/null +++ b/pkgtools/pkg_select/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2006/03/13 00:16:41 minskim Exp $ + +--- lib.h.orig 2005-03-15 08:43:20.000000000 -0800 ++++ lib.h +@@ -320,7 +320,6 @@ void free_lpkg(lpkg_t *); + int pkg_perform(lpkg_head_t *); + + /* Externs */ +-extern Boolean Verbose; + extern Boolean Fake; + extern Boolean Force; + extern Boolean Replace; -- cgit v1.2.3