Date: Mon, 26 Apr 2004 04:35:31 +0300 From: Andrey Slusar <vasallia@ukr.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65975: [PATCH] www/junkbuster: fix gnuregex warnings Message-ID: <E1BHv1v-000LvJ-5i@santinel.home.ua> Resent-Message-ID: <200404260140.i3Q1eJtl024063@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65975 >Category: ports >Synopsis: [PATCH] www/junkbuster: fix gnuregex warnings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 25 18:40:19 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Andrey Slusar >Release: FreeBSD 5.2-CURRENT i386 >Organization: Santinel >Environment: System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Tue Apr 20 17:02:29 EEST 2004 root@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386 >Description: ===> Extracting for junkbuster-2.0.2_2 >> Checksum OK for ijb-zlib-10.tgz. ===> Patching for junkbuster-2.0.2_2 ===> Applying FreeBSD patches for junkbuster-2.0.2_2 ===> Configuring for junkbuster-2.0.2_2 ===> Building for junkbuster-2.0.2_2 cc -O2 -pipe -march=athlon-xp -I. -DREGEX -DSTDC_HEADERS -DHAVE_STRING -c jcc.c In file included from jcc.c:46: /usr/include/gnuregex.h:31:2: warning: #warning "Use -I/usr/include/gnu and <regex.h> instead of <gnuregex.h>" cc -O2 -pipe -march=athlon-xp -I. -DREGEX -DSTDC_HEADERS -DHAVE_STRING -c parsers.c In file included from parsers.c:22: /usr/include/gnuregex.h:31:2: warning: #warning "Use -I/usr/include/gnu and <regex.h> instead of <gnuregex.h>" >How-To-Repeat: N/A >Fix: --- junkbuster.diff begins here --- diff -ruN junkbuster/files/patch-ab junkbuster.new/files/patch-ab --- junkbuster/files/patch-ab Sun Apr 30 23:36:03 2000 +++ junkbuster.new/files/patch-ab Sat Apr 24 23:48:36 2004 @@ -6,7 +6,7 @@ #ifdef REGEX -#include "gnu_regex.h" -+#include "gnuregex.h" ++#include "gnu/regex.h" #endif #include "jcc.h" diff -ruN junkbuster/files/patch-ac junkbuster.new/files/patch-ac --- junkbuster/files/patch-ac Sun Apr 30 23:36:03 2000 +++ junkbuster.new/files/patch-ac Sat Apr 24 23:48:55 2004 @@ -6,7 +6,7 @@ #ifdef REGEX -#include "gnu_regex.h" -+#include "gnuregex.h" ++#include "gnu/regex.h" #endif #include "jcc.h" diff -ruN junkbuster/files/patch-ad junkbuster.new/files/patch-ad --- junkbuster/files/patch-ad Sun Apr 30 23:36:04 2000 +++ junkbuster.new/files/patch-ad Sat Apr 24 23:49:06 2004 @@ -6,7 +6,7 @@ #ifdef REGEX -#include "gnu_regex.h" -+#include "gnuregex.h" ++#include "gnu/regex.h" #endif #include "jcc.h" diff -ruN junkbuster/files/patch-ae junkbuster.new/files/patch-ae --- junkbuster/files/patch-ae Sun Apr 30 23:36:04 2000 +++ junkbuster.new/files/patch-ae Sat Apr 24 23:49:13 2004 @@ -6,7 +6,7 @@ #ifdef REGEX -#include <gnu_regex.h> -+#include <gnuregex.h> ++#include <gnu/regex.h> #endif #include "jcc.h" diff -ruN junkbuster/files/patch-af junkbuster.new/files/patch-af --- junkbuster/files/patch-af Sun Apr 30 23:36:04 2000 +++ junkbuster.new/files/patch-af Sat Apr 24 23:49:20 2004 @@ -6,7 +6,7 @@ /* Get the interface, including the syntax bits. */ -#include "gnu_regex.h" -+#include "gnuregex.h" ++#include "gnu/regex.h" /* isalpha etc. are used for the character classes. */ #include <ctype.h> diff -ruN junkbuster/files/patch-ag junkbuster.new/files/patch-ag --- junkbuster/files/patch-ag Sat Nov 10 19:26:40 2001 +++ junkbuster.new/files/patch-ag Sat Apr 24 23:49:27 2004 @@ -5,7 +5,7 @@ #ifdef REGEX -#include <gnu_regex.h> -+#include <gnuregex.h> ++#include <gnu/regex.h> #endif #include "jcc.h" diff -ruN junkbuster/files/patch-ah junkbuster.new/files/patch-ah --- junkbuster/files/patch-ah Sun Apr 30 23:36:05 2000 +++ junkbuster.new/files/patch-ah Sat Apr 24 23:49:35 2004 @@ -15,7 +15,7 @@ #ifdef REGEX -#include <gnu_regex.h> -+#include <gnuregex.h> ++#include <gnu/regex.h> #endif #include "jcc.h" diff -ruN junkbuster/files/patch-aj junkbuster.new/files/patch-aj --- junkbuster/files/patch-aj Sun Apr 30 23:36:05 2000 +++ junkbuster.new/files/patch-aj Sat Apr 24 23:49:42 2004 @@ -6,7 +6,7 @@ #ifdef REGEX -#include <gnu_regex.h> -+#include <gnuregex.h> ++#include <gnu/regex.h> #endif #include "jcc.h" diff -ruN junkbuster/files/patch-ak junkbuster.new/files/patch-ak --- junkbuster/files/patch-ak Sun Apr 30 23:36:05 2000 +++ junkbuster.new/files/patch-ak Sat Apr 24 23:49:48 2004 @@ -6,7 +6,7 @@ #ifdef REGEX -#include <gnu_regex.h> -+#include <gnuregex.h> ++#include <gnu/regex.h> #endif #include "jcc.h" diff -ruN junkbuster/files/patch-al junkbuster.new/files/patch-al --- junkbuster/files/patch-al Sat Nov 10 19:26:40 2001 +++ junkbuster.new/files/patch-al Sat Apr 24 23:49:58 2004 @@ -8,7 +8,7 @@ #include <stdlib.h> /* For free() */ #include <stdio.h> /* Required by jcc.h */ -#include "gnu_regex.h" -+#include "gnuregex.h" ++#include "gnu/regex.h" #include "jcc.h" /* For zalloc() */ #undef DEBUG /* DEBUG macro use in this file is not */ /* consistent with use in jcc.h */ diff -ruN junkbuster/files/patch-am junkbuster.new/files/patch-am --- junkbuster/files/patch-am Sun Apr 30 23:36:05 2000 +++ junkbuster.new/files/patch-am Sat Apr 24 23:50:03 2004 @@ -6,7 +6,7 @@ #include <stdio.h> #ifdef REGEX -#include "gnu_regex.h" -+#include "gnuregex.h" ++#include "gnu/regex.h" #endif #include "jcc.h" #include <windows.h> diff -ruN junkbuster/files/patch-an junkbuster.new/files/patch-an --- junkbuster/files/patch-an Sat Nov 10 19:26:40 2001 +++ junkbuster.new/files/patch-an Sat Apr 24 23:50:08 2004 @@ -5,7 +5,7 @@ #ifdef REGEX -#include <gnu_regex.h> -+#include <gnuregex.h> ++#include <gnu/regex.h> #endif #include "jcc.h" /* For atoip() */ --- junkbuster.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BHv1v-000LvJ-5i>