summaryrefslogtreecommitdiffstats
path: root/13.patch
diff options
context:
space:
mode:
Diffstat (limited to '13.patch')
-rw-r--r--13.patch89
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