openbsd-ports/textproc/sp/patches/patch-aa

20 lines
468 B
Plaintext

--- include/config.h.orig Sat Jul 19 22:50:06 1997
+++ include/config.h Sun Oct 31 04:51:59 1999
@@ -7,6 +7,16 @@
#define SP_INCLUDE_UNISTD_H
#define SP_POSIX_FILENAMES
+#if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__))
+#define SP_HAVE_LOCALE
+#define SP_HAVE_SOCKET
+#define SP_MULTI_BYTE
+#endif
+
+#ifdef __OpenBSD__
+#define SP_ANSI_LIB
+#endif
+
#ifdef __GNUG__
// It's not missing, but it pulls in libg++
#define SP_NEW_H_MISSING