updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / amap / pcre.patch
blob097bfbf45eb57552ed7b61f8d81487ec32b4d64b
1 diff --exclude='*~' -urN amap-4.8.orig/amap-inc.h amap-4.8/amap-inc.h
2 --- amap-4.8.orig/amap-inc.h 2005-02-21 21:47:47.251638320 -0500
3 +++ amap-4.8/amap-inc.h 2005-02-21 21:48:27.774477912 -0500
4 @@ -20,7 +20,7 @@
5 #include <errno.h>
6 #include <sys/resource.h>
7 #include <sys/wait.h>
8 -#include "pcre-3.9/pcre.h"
9 +#include <pcre.h>
10 #ifdef OPENSSL
11 #include <openssl/ssl.h>
12 #include <openssl/err.h>
13 diff --exclude='*~' -urN amap-4.8.orig/configure amap-4.8/configure
14 --- amap-4.8.orig/configure 2005-02-21 21:47:47.240639992 -0500
15 +++ amap-4.8/configure 2005-02-21 21:48:41.379409648 -0500
16 @@ -13,10 +13,6 @@
17 exit 0
20 -cd pcre-3.9 || exit 1
21 -./configure || exit 1
22 -cd ..
24 echo
25 echo
26 echo "Starting amap auto configuration ..."
27 diff --exclude='*~' -urN amap-4.8.orig/Makefile.am amap-4.8/Makefile.am
28 --- amap-4.8.orig/Makefile.am 2005-02-21 21:47:47.242639688 -0500
29 +++ amap-4.8/Makefile.am 2005-02-21 21:49:16.070135856 -0500
30 @@ -1,5 +1,5 @@
31 CC=gcc
32 -LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
33 +LIB=-lpcre
34 OPT=-O2
35 OPT_DEBUG=-ggdb -Wall -lefence
36 BINDIR=/bin
37 @@ -7,7 +7,7 @@
38 MANDIR=/man/man1
39 SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
40 MANPAGE=amap.1
41 -all: pcre strip
42 +all: amap amapcrap
44 pcre:
45 cd pcre-3.9 && make