pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_select Do not declare a static variable i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b953145d4325
branches:  trunk
changeset: 509662:b953145d4325
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Mar 13 00:16:41 2006 +0000

description:
Do not declare a static variable in a header file as non-static.  This makes
the package build with gcc-4.

diffstat:

 pkgtools/pkg_select/distinfo         |   3 ++-
 pkgtools/pkg_select/patches/patch-ab |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 3df75ce84307 -r b953145d4325 pkgtools/pkg_select/distinfo
--- a/pkgtools/pkg_select/distinfo      Mon Mar 13 00:16:23 2006 +0000
+++ b/pkgtools/pkg_select/distinfo      Mon Mar 13 00:16:41 2006 +0000
@@ -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 -r 3df75ce84307 -r b953145d4325 pkgtools/pkg_select/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkg_select/patches/patch-ab      Mon Mar 13 00:16:41 2006 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index