]> git.pld-linux.org Git - packages/amap.git/blame - amap-system-pcre.patch
- rediff patch, rebuild with openssl 3.0.0, rel 7
[packages/amap.git] / amap-system-pcre.patch
CommitLineData
87dddaa2
JR
1diff -urNp -x '*.orig' amap-5.2.org/Makefile.am amap-5.2/Makefile.am
2--- amap-5.2.org/Makefile.am 2021-10-09 23:44:55.647512366 +0200
3+++ amap-5.2/Makefile.am 2021-10-09 23:44:55.674178998 +0200
4@@ -1,5 +1,5 @@
5 CC=gcc
6-LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
7+LIB=-lpcre
8 OPT=-O2
9 OPT_DEBUG=-ggdb -Wall -lefence
10 BINDIR=/bin
11@@ -7,7 +7,7 @@ DATADIR=/share/amap
12 MANDIR=/share/man/man1
13 SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
14 MANPAGE=amap.1
15-all: pcre strip
16+all: amap amapcrap
17
18 pcre:
19 cd pcre-3.9 && make
20diff -urNp -x '*.orig' amap-5.2.org/amap-inc.h amap-5.2/amap-inc.h
21--- amap-5.2.org/amap-inc.h 2003-10-29 23:37:41.000000000 +0100
22+++ amap-5.2/amap-inc.h 2021-10-09 23:44:55.674178998 +0200
3ebd5ae8
MB
23@@ -20,7 +20,7 @@
24 #include <errno.h>
25 #include <sys/resource.h>
26 #include <sys/wait.h>
27-#include "pcre-3.9/pcre.h"
28+#include <pcre.h>
29 #ifdef OPENSSL
30 #include <openssl/ssl.h>
31 #include <openssl/err.h>
87dddaa2
JR
32diff -urNp -x '*.orig' amap-5.2.org/configure amap-5.2/configure
33--- amap-5.2.org/configure 2005-06-03 15:34:19.000000000 +0200
34+++ amap-5.2/configure 2021-10-09 23:44:55.674178998 +0200
35@@ -13,10 +13,6 @@ if [ "$1" = "--help" ]; then
3ebd5ae8
MB
36 exit 0
37 fi
38
39-cd pcre-3.9 || exit 1
40-./configure || exit 1
41-cd ..
42-
43 echo
44 echo
45 echo "Starting amap auto configuration ..."
This page took 0.086295 seconds and 4 git commands to generate.