summaryrefslogtreecommitdiff
path: root/chat/icb/patches/patch-ao
blob: de166c1e3a8c20f7d5cde47c637e35932675cd6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$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