diff options
author | Remi Collet <remi@remirepo.net> | 2020-11-18 14:48:26 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-11-18 14:48:26 +0100 |
commit | 0e56f892ce7c3835d969479a6924a4f79204fc56 (patch) | |
tree | a630f146396a6b1be66caaa07977e209e6aa11c1 /13.patch | |
parent | 43515af23a8972acf1e3ee87ead92b8bfd83d2d7 (diff) |
add patch to improve configure output from
https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/13
add patch for ip2location_bin_version in 8.3.1 from
https://github.com/chrislim2888/IP2Location-PECL-Extension/pull/15
Diffstat (limited to '13.patch')
-rw-r--r-- | 13.patch | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/13.patch b/13.patch new file mode 100644 index 0000000..8f04772 --- /dev/null +++ b/13.patch @@ -0,0 +1,89 @@ +From f3169d68045c7d1db9606856261774b459c0912a Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 8 Oct 2020 09:02:28 +0200 +Subject: [PATCH 1/2] always display where header is found + +--- + config.m4 | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/config.m4 b/config.m4 +index b8041bc..89d9eaa 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -11,14 +11,13 @@ if test "$PHP_IP2LOCATION" != "no"; then + # --with-ip2location -> check with-path + SEARCH_PATH="/usr/local /usr /opt/local" + SEARCH_FOR="/include/IP2Location.h" ++ AC_MSG_CHECKING([for ip2location files in default path]) + if test -r $PHP_IP2LOCATION/$SEARCH_FOR; then + IP2LOCATION_DIR=$PHP_IP2LOCATION + else # search default path list +- AC_MSG_CHECKING([for ip2location files in default path]) + for i in $SEARCH_PATH ; do + if test -r $i/$SEARCH_FOR; then + IP2LOCATION_DIR=$i +- AC_MSG_RESULT([found in $i]) + fi + done + fi +@@ -26,6 +25,8 @@ if test "$PHP_IP2LOCATION" != "no"; then + if test -z "$IP2LOCATION_DIR"; then + AC_MSG_RESULT([not found]) + AC_MSG_ERROR([Please reinstall the ip2location C library]) ++ else ++ AC_MSG_RESULT([found in $IP2LOCATION_DIR]) + fi + + # --with-ip2location -> add include path + +From 174847db69b9806cf501038814fc8ff852845ff7 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 8 Oct 2020 09:02:51 +0200 +Subject: [PATCH 2/2] don't track build artefacts + +--- + .gitignore | 34 ++++++++++++++++++++++++++++++++++ + 1 file changed, 34 insertions(+) + create mode 100644 .gitignore + +diff --git a/.gitignore b/.gitignore +new file mode 100644 +index 0000000..aa304ab +--- /dev/null ++++ b/.gitignore +@@ -0,0 +1,34 @@ ++*.lo ++.deps ++.libs/ ++.*.swp ++Makefile ++Makefile.fragments ++Makefile.global ++Makefile.objects ++acinclude.m4 ++aclocal.m4 ++autom4te.cache/ ++build/ ++config.guess ++config.h ++config.h.in ++config.h.in~ ++config.log ++config.nice ++config.status ++config.sub ++configure ++configure.in ++configure.ac ++data/.libs/ ++install-sh ++libtool ++ltmain.sh ++ltmain.sh.backup ++missing ++mkinstalldirs ++modules/ ++run-tests.php ++run-tests.sh ++*.la |