tech-pkg archive

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

libnbcompat patch for PR 33037



Is this a suitable fix for PR 33037? I believe it should be but I'm
reluctant to touch this at all without someone crosschecking...


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/libnbcompat/Makefile,v
retrieving revision 1.73
diff -u -p -r1.73 Makefile
--- Makefile    10 Jun 2009 11:03:47 -0000      1.73
+++ Makefile    1 Mar 2010 02:56:00 -0000
@@ -5,7 +5,7 @@
 #      list of tested and supported platforms.
 #
 
-DISTNAME=              libnbcompat-20090610
+DISTNAME=              libnbcompat-20100301
 CATEGORIES=            pkgtools devel
 MASTER_SITES=          # empty
 DISTFILES=             # empty
Index: files/nbcompat/err.h
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/libnbcompat/files/nbcompat/err.h,v
retrieving revision 1.4
diff -u -p -r1.4 err.h
--- files/nbcompat/err.h        23 Aug 2004 03:32:13 -0000      1.4
+++ files/nbcompat/err.h        1 Mar 2010 02:56:00 -0000
@@ -43,6 +43,8 @@
 #endif
 
 #if !HAVE_ERR
+#include <nbcompat/cdefs.h>
+
 void   err __P((int, const char *, ...));
 void   errx __P((int, const char *, ...));
 void   verr __P((int, const char *, va_list));
@@ -50,6 +52,8 @@ void  verrx __P((int, const char *, va_li
 #endif
 
 #if !HAVE_WARN
+#include <nbcompat/cdefs.h>
+
 void   warn __P((const char *, ...));
 void   warnx __P((const char *, ...));
 void   vwarn __P((const char *, va_list));
Index: files/nbcompat/termcap.h
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/libnbcompat/files/nbcompat/termcap.h,v
retrieving revision 1.2
diff -u -p -r1.2 termcap.h
--- files/nbcompat/termcap.h    29 Apr 2008 05:46:08 -0000      1.2
+++ files/nbcompat/termcap.h    1 Mar 2010 02:56:00 -0000
@@ -41,6 +41,8 @@
  */
 
 #if !HAVE_TERMCAP_H
+#include <nbcompat/cdefs.h>
+
 int    tgetent  __P((char *, const char *));
 char   *tgetstr  __P((const char *, char **));
 int    tgetflag __P((const char *));


-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index