ports/56190: textproc/glimpse: fix build on -current (varargs -> stdarg)
Michael Edenfield
kutulu at kutulu.org
Sat Aug 30 14:00:34 UTC 2003
>Number: 56190
>Category: ports
>Synopsis: textproc/glimpse: fix build on -current (varargs -> stdarg)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 30 07:00:31 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Michael Edenfield
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD wombat.localnet 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Sun Aug 24 21:35:57 EDT 2003 root at wombat.localnet:/usr/obj/usr/src/sys/ATHLON i386
>Description:
>How-To-Repeat:
>Fix:
--- glimpse.patch begins here ---
diff -urN glimpse.orig/files/patch-ab glimpse/files/patch-ab
--- glimpse.orig/files/patch-ab Fri May 5 21:53:33 2000
+++ glimpse/files/patch-ab Sat Aug 30 09:53:17 2003
@@ -1,6 +1,16 @@
---- libtemplate/include/autoconf.h.in.orig Thu Nov 21 05:28:49 1996
-+++ libtemplate/include/autoconf.h.in Fri May 5 21:23:48 2000
-@@ -108,7 +108,7 @@
+--- libtemplate/include/autoconf.h.in.orig Wed Nov 20 21:28:49 1996
++++ libtemplate/include/autoconf.h.in Sat Aug 30 09:50:03 2003
+@@ -7,6 +7,9 @@
+ #undef _ALL_SOURCE
+ #endif
+
++/* Define on gcc 3.3+ to avoid use of varargs.h */
++#define __STRICT_ANSI__
++
+ /* Define if using alloca.c. */
+ #undef C_ALLOCA
+
+@@ -108,7 +111,7 @@
#undef HAVE_BZERO
/* Define if you have flock. */
@@ -9,7 +19,7 @@
/* Define if you have fsync. */
#undef HAVE_FSYNC
-@@ -120,7 +120,7 @@
+@@ -120,7 +123,7 @@
#undef HAVE_GETCWD
/* Define if you have getdtablesize. */
@@ -18,7 +28,7 @@
/* Define if you have lrand48. */
#undef HAVE_LRAND48
-@@ -144,10 +144,10 @@
+@@ -144,10 +147,10 @@
#undef HAVE_RENAME
/* Define if you have setlinebuf. */
@@ -31,7 +41,7 @@
/* Define if you have srand48. */
#undef HAVE_SRAND48
-@@ -156,10 +156,10 @@
+@@ -156,10 +159,10 @@
#undef HAVE_SRANDOM
/* Define if you have strdup. */
--- glimpse.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list