SOURCES: amap-system-pcre.patch (NEW) - use system pcre

megabajt megabajt at pld-linux.org
Thu Sep 18 19:12:59 CEST 2008


Author: megabajt                     Date: Thu Sep 18 17:12:59 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use system pcre

---- Files affected:
SOURCES:
   amap-system-pcre.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/amap-system-pcre.patch
diff -u /dev/null SOURCES/amap-system-pcre.patch:1.1
--- /dev/null	Thu Sep 18 19:13:00 2008
+++ SOURCES/amap-system-pcre.patch	Thu Sep 18 19:12:54 2008
@@ -0,0 +1,45 @@
+diff -urN amap-5.2/amap-inc.h amap-5.2.new/amap-inc.h
+--- amap-5.2/amap-inc.h	2003-10-29 23:37:41.000000000 +0100
++++ amap-5.2.new/amap-inc.h	2008-09-18 18:54:40.000000000 +0200
+@@ -20,7 +20,7 @@
+ #include <errno.h>
+ #include <sys/resource.h>
+ #include <sys/wait.h>
+-#include "pcre-3.9/pcre.h"
++#include <pcre.h>
+ #ifdef OPENSSL
+  #include <openssl/ssl.h>
+  #include <openssl/err.h>
+diff -urN amap-5.2/configure amap-5.2.new/configure
+--- amap-5.2/configure	2005-06-03 15:34:19.000000000 +0200
++++ amap-5.2.new/configure	2008-09-18 18:54:57.000000000 +0200
+@@ -13,10 +13,6 @@
+   exit 0
+ fi
+ 
+-cd pcre-3.9 || exit 1
+-./configure || exit 1
+-cd ..
+-
+ echo
+ echo
+ echo "Starting amap auto configuration ..."
+diff -urN amap-5.2/Makefile.am amap-5.2.new/Makefile.am
+--- amap-5.2/Makefile.am	2005-09-22 17:39:18.000000000 +0200
++++ amap-5.2.new/Makefile.am	2008-09-18 18:55:34.000000000 +0200
+@@ -1,5 +1,5 @@
+ CC=gcc
+-LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
++LIB=-lpcre
+ OPT=-O2
+ OPT_DEBUG=-ggdb -Wall -lefence
+ BINDIR=/bin
+@@ -7,7 +7,7 @@
+ MANDIR=/man/man1
+ SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
+ MANPAGE=amap.1
+-all:	pcre strip
++all:	amap amapcrap
+ 
+ pcre:
+ 	cd pcre-3.9 && make
================================================================


More information about the pld-cvs-commit mailing list