From d38479ecaa8e529ea864064d910306a0d9e69615 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Wed, 29 Dec 1999 21:32:14 +0000 Subject: * Do not set NO_WRKSUBDIR to yes. Specify WRKSRC. * Respect CFLAGS. * Make less use of __FreeBSD__. * Use more system-defined make variables. PR: 15746 Submitted by: maintainer --- cad/cider/files/patch-aq | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 cad/cider/files/patch-aq (limited to 'cad/cider/files/patch-aq') diff --git a/cad/cider/files/patch-aq b/cad/cider/files/patch-aq new file mode 100644 index 000000000000..5ed2f0bb7940 --- /dev/null +++ b/cad/cider/files/patch-aq @@ -0,0 +1,38 @@ +--- spice/common/src/include/misc.h.orig Sat Jan 29 19:14:17 1994 ++++ spice/common/src/include/misc.h Sun Dec 26 18:49:39 1999 +@@ -5,6 +5,10 @@ + #ifndef MISC_H + #define MISC_H + ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include ++#endif ++ + #define BSIZE_SP 512 + + #ifdef HAS_EXIT1 +@@ -86,7 +90,9 @@ + extern char *realloc(); + extern char *getenv(); + extern int errno; ++#if !(defined(BSD) && (BSD >= 199306)) + extern char *sys_errlist[]; ++#endif + extern char *getenv(); + extern char *getwd(); + extern int rand(); +@@ -109,12 +115,14 @@ + # endif /* clearerr */ + # endif /* HAS_CLEARERR */ + ++#if !(defined(BSD) && (BSD >= 199306)) + # ifndef bzero + extern int bzero(); + # endif + # ifndef bcopy + extern void bcopy(); + # endif ++#endif + + # ifndef index + # ifdef HAS_INDEX -- cgit v1.2.3