freebsd-ports/cad/sis/files/patch-bd
Ade Lovett 358b49a600 Support CC/CFLAGS/PREFIX/X11BASE/MAKE properly
Sort pkg/PLIST

PR:		20418
Submitted by:	Ports Fury
2000-09-16 18:40:55 +00:00

13 lines
387 B
Plaintext

--- xsis/xutil.c.orig Sat Jul 16 07:56:03 1994
+++ xsis/xutil.c Thu Aug 3 22:34:03 2000
@@ -49,7 +49,9 @@
/* Similar to perror but print errno value also for debugging. */
extern int sys_nerr;
+#if !defined(__FreeBSD__)
extern char *sys_errlist[];
+#endif
if (errno >= 0 && errno < sys_nerr) {
fprintf(stderr,"%s: %s (errno=%d)\n",s,sys_errlist[errno],errno);