diff options
author | tv <tv> | 2005-11-03 16:53:34 +0000 |
---|---|---|
committer | tv <tv> | 2005-11-03 16:53:34 +0000 |
commit | 49005ee9221102be41d24791d9566aa735ade66d (patch) | |
tree | fda55f115a0cf3c724d9454beee675b273c83c21 /news | |
parent | 768092a032aaed3811f91f25d6934a9ae5ef3ded (diff) | |
download | pkgsrc-49005ee9221102be41d24791d9566aa735ade66d.tar.gz |
cg's autoconf tests never check headers, so adding HAVE_STDARG_H check
is somewhat nontrivial. To make this build on a gcc3 system without one
of the functions in snprintf.c, also allow __STDC__ to be a flag indicating
availability of <stdarg.h>.
Diffstat (limited to 'news')
-rw-r--r-- | news/cg/distinfo | 3 | ||||
-rw-r--r-- | news/cg/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/news/cg/distinfo b/news/cg/distinfo index 72c9065d640..e94c50f1733 100644 --- a/news/cg/distinfo +++ b/news/cg/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:19:55 agc Exp $ +$NetBSD: distinfo,v 1.4 2005/11/03 16:53:34 tv Exp $ SHA1 (cg-0.4.tar.gz) = 8fdb3156e3ad11fd182d2adf1d87ff799beaac60 RMD160 (cg-0.4.tar.gz) = 9a706b5b1dc5e4e2617dec7f9f6e37b19ed634aa Size (cg-0.4.tar.gz) = 203503 bytes +SHA1 (patch-aa) = c30af62f04e07b347c5a048edad19b2cca70ae98 diff --git a/news/cg/patches/patch-aa b/news/cg/patches/patch-aa new file mode 100644 index 00000000000..be265c48ab6 --- /dev/null +++ b/news/cg/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2005/11/03 16:53:34 tv Exp $ + +--- snprintf.c.orig 2002-05-13 12:51:22.000000000 -0400 ++++ snprintf.c +@@ -64,7 +64,7 @@ + + /* varargs declarations: */ + +-#if defined(HAVE_STDARG_H) ++#if defined(HAVE_STDARG_H) || defined(__STDC__) + # include <stdarg.h> + # define HAVE_STDARGS /* let's hope that works everywhere (mj) */ + # define VA_LOCAL_DECL va_list ap |