1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/junkbuster/files/patch-ah
Steve Price 14fd2072a9 Use gnuregex library in the base system instead of the old one provided
by the port.  Also cleanup all warning messages when compiling with -Wall.

PR:		17035
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@linf.unb.br>
2000-04-30 20:36:05 +00:00

39 lines
1.1 KiB
Plaintext

diff -ruN /usr/ports/www/ijb/work/ijb20/loaders.c ./loaders.c
--- /usr/ports/www/ijb/work/ijb20/loaders.c Mon Feb 28 02:35:10 2000
+++ ./loaders.c Mon Feb 28 02:34:29 2000
@@ -8,7 +8,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>
#include <ctype.h>
@@ -18,7 +18,7 @@
#endif
#ifdef REGEX
-#include <gnu_regex.h>
+#include <gnuregex.h>
#endif
#include "jcc.h"
@@ -1160,7 +1160,7 @@
extern char *acl_rcs, *bind_rcs, *conn_rcs, *encode_rcs,
*jcc_rcs, *loaders_rcs, *parsers_rcs, *filters_rcs,
- *socks4_rcs, *ssplit_rcs, *gnu_regex_rcs, *win32_rcs;
+ *socks4_rcs, *ssplit_rcs, *win32_rcs;
b = strsav(b, "<h2>Source versions:</h2>\n");
b = strsav(b, "<pre>");
@@ -1174,7 +1174,6 @@
sprintf(buf, "%s\n", socks4_rcs ); b = strsav(b, buf);
sprintf(buf, "%s\n", ssplit_rcs ); b = strsav(b, buf);
sprintf(buf, "%s\n", acl_rcs ); b = strsav(b, buf);
- sprintf(buf, "%s\n", gnu_regex_rcs ); b = strsav(b, buf);
sprintf(buf, "%s\n", win32_rcs ); b = strsav(b, buf);
b = strsav(b, "</pre>");