aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-12-16 20:49:22 +0800
committeredwin <edwin@FreeBSD.org>2002-12-16 20:49:22 +0800
commitf0902550f4d3d18db50bb5f67de1b1d42385b24e (patch)
tree03fbe8d05882c2ee7a4563e59e2615bea8c0070d
parentea445c947712c19de08d001ec04440b4edb0dde1 (diff)
downloadfreebsd-ports-gnome-f0902550f4d3d18db50bb5f67de1b1d42385b24e.tar.gz
freebsd-ports-gnome-f0902550f4d3d18db50bb5f67de1b1d42385b24e.tar.zst
freebsd-ports-gnome-f0902550f4d3d18db50bb5f67de1b1d42385b24e.zip
Unbreak build of www/squid24 on -current
Noticed by: bento Approved by: adrian@
-rw-r--r--www/squid24/files/patch-lib::strerror.c11
-rw-r--r--www/squid24/files/patch-lib::util.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/www/squid24/files/patch-lib::strerror.c b/www/squid24/files/patch-lib::strerror.c
new file mode 100644
index 000000000000..f2aad05b643e
--- /dev/null
+++ b/www/squid24/files/patch-lib::strerror.c
@@ -0,0 +1,11 @@
+--- lib/strerror.c.orig Sat Dec 14 17:04:03 2002
++++ lib/strerror.c Sat Dec 14 17:04:19 2002
+@@ -38,7 +38,7 @@
+ #include <errno.h>
+ #endif
+
+-extern int sys_nerr;
++extern const int sys_nerr;
+ #if NEED_SYS_ERRLIST && !defined(_SQUID_NETBSD_)
+ extern char *sys_errlist[];
+ #endif
diff --git a/www/squid24/files/patch-lib::util.c b/www/squid24/files/patch-lib::util.c
new file mode 100644
index 000000000000..36ceb6747395
--- /dev/null
+++ b/www/squid24/files/patch-lib::util.c
@@ -0,0 +1,11 @@
+--- lib/util.c.orig Sat Dec 14 17:04:56 2002
++++ lib/util.c Sat Dec 14 17:05:04 2002
+@@ -76,7 +76,7 @@
+ static char msg[128];
+
+ #if !defined(__CYGWIN__)
+-extern int sys_nerr;
++extern const int sys_nerr;
+ #else
+ #define sys_nerr _sys_nerr
+ #endif