pkgsrc/chat/icb/patches/patch-bo
christos 460bd4190f make this work on 64 bit platforms:
- fix warnings for missing prototypes
- use termios instead of sgtty (why doesn't this work on amd64?)
2008-12-17 02:19:59 +00:00

17 lines
483 B
Text

$NetBSD: patch-bo,v 1.2 2008/12/17 02:19:59 christos Exp $
--- tcl/strerror.c.orig 1995-02-24 16:19:50.000000000 -0500
+++ tcl/strerror.c 2008-12-16 20:18:00.000000000 -0500
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <string.h>
+#if !defined(BSD4_4) && !defined(__linux__) && !defined(__APPLE__) && !defined(__DragonFly__)
/*
* List of known errors:
*/
@@ -138,3 +139,4 @@
(void) sprintf(defaultMsg, "unknown error (%d)", error);
return defaultMsg;
}
+#endif