pcre.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. diff --exclude='*~' -urN amap-5.4.orig/amap-inc.h amap-5.4/amap-inc.h
  2. --- amap-5.4.orig/amap-inc.h 2005-02-21 21:47:47.251638320 -0500
  3. +++ amap-5.4/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-5.4.orig/configure amap-5.4/configure
  14. --- amap-5.4.orig/configure 2005-02-21 21:47:47.240639992 -0500
  15. +++ amap-5.4/configure 2005-02-21 21:48:41.379409648 -0500
  16. @@ -13,10 +13,6 @@
  17. exit 0
  18. fi
  19. -cd pcre-3.9 || exit 1
  20. -./configure || exit 1
  21. -cd ..
  22. -
  23. echo
  24. echo
  25. echo "Starting amap auto configuration ..."
  26. diff --exclude='*~' -urN amap-5.4.orig/Makefile.am amap-5.4/Makefile.am
  27. --- amap-5.4.orig/Makefile.am 2005-02-21 21:47:47.242639688 -0500
  28. +++ amap-5.4/Makefile.am 2005-02-21 21:49:16.070135856 -0500
  29. @@ -1,5 +1,5 @@
  30. CC=gcc
  31. -LIB=-lpcre -L./pcre-3.9/ -I./pcre-3.9/
  32. +LIB=-lpcre
  33. OPT=-O2
  34. OPT_DEBUG=-ggdb -Wall -lefence
  35. BINDIR=/bin
  36. @@ -7,7 +7,7 @@
  37. MANDIR=/man/man1
  38. SCRIPTS=appdefs.trig appdefs.resp appdefs.rpc
  39. MANPAGE=amap.1
  40. -all: pcre strip
  41. +all: amap amapcrap
  42. pcre:
  43. cd pcre-3.9 && make