summaryrefslogtreecommitdiff
path: root/dev-db/postgis/files/postgis-3.0.3-try-other-cpp-names.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/postgis/files/postgis-3.0.3-try-other-cpp-names.patch')
-rw-r--r--dev-db/postgis/files/postgis-3.0.3-try-other-cpp-names.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-db/postgis/files/postgis-3.0.3-try-other-cpp-names.patch b/dev-db/postgis/files/postgis-3.0.3-try-other-cpp-names.patch
new file mode 100644
index 000000000000..691cf8d1936f
--- /dev/null
+++ b/dev-db/postgis/files/postgis-3.0.3-try-other-cpp-names.patch
@@ -0,0 +1,12 @@
+diff -Naruw postgis-3.1.0.orig/configure.ac postgis-3.1.0/configure.ac
+--- postgis-3.1.0.orig/configure.ac 2020-12-18 14:39:26.000000000 -0500
++++ postgis-3.1.0/configure.ac 2020-12-23 21:44:09.223273050 -0500
+@@ -31,7 +31,7 @@
+ dnl
+ dnl SQL Preprocessor
+ dnl
+-AC_PATH_PROG([CPPBIN], [cpp], [])
++AC_PATH_PROGS([CPPBIN], [cpp x86_64-pc-linux-gnu-cpp x86-pc-linux-gnu-cpp], [])
+ if test "x$CPPBIN" != "x"; then
+ SQLPP="${CPPBIN} -traditional-cpp -w -P"
+ else