pkgsrc/chat/icb/patches/patch-ao
2002-06-02 01:41:19 +00:00

18 lines
582 B
Text

$NetBSD: patch-ao,v 1.2 2002/06/02 01:41:19 schmonz Exp $
diff -x *.orig -urN ./tcl/strerror.c /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/tcl/strerror.c
--- ./tcl/strerror.c Fri Feb 24 22:19:50 1995
+++ /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/tcl/strerror.c Fri Nov 26 22:56:30 1999
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <string.h>
+#if !defined(BSD4_4) && !defined(__linux__) && !defined(__APPLE__)
/*
* List of known errors:
*/
@@ -138,3 +139,4 @@
(void) sprintf(defaultMsg, "unknown error (%d)", error);
return defaultMsg;
}
+#endif