diff options
author | se <se@FreeBSD.org> | 2002-12-26 13:24:33 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 2002-12-26 13:24:33 +0000 |
commit | 107ef710c9bbf076246bb09c2ae9c7c7025df9c6 (patch) | |
tree | e66ed5fde2c3a6935b6718577a793d8fea62dddd /net/argus | |
parent | 0bab26e4cc02e0722980262978190b8484293c4d (diff) | |
download | FreeBSD-ports-107ef710c9bbf076246bb09c2ae9c7c7025df9c6.zip FreeBSD-ports-107ef710c9bbf076246bb09c2ae9c7c7025df9c6.tar.gz |
Fix build on Alpha (inconsistent prototypes for error()).
Reported by: naddy
Diffstat (limited to 'net/argus')
-rw-r--r-- | net/argus/files/patch-ab | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/argus/files/patch-ab b/net/argus/files/patch-ab new file mode 100644 index 0000000..3c8be26 --- /dev/null +++ b/net/argus/files/patch-ab @@ -0,0 +1,17 @@ +--- include/argus_filter.h~ Fri May 31 14:11:34 2002 ++++ include/argus_filter.h Wed Dec 25 22:13:46 2002 +@@ -216,7 +216,13 @@ + extern void *ArgusCalloc (int, int); + extern void ArgusFree (void *); + +-extern void error(va_list); ++/*extern void error(va_list);*/ ++#if defined(__STDC__) ++void error(const char *fmt, ...); ++#else ++void error(const char *fmt, va_dcl); ++#endif ++ + extern void warning(va_list); + + extern char *savestr(const char *); |