summaryrefslogtreecommitdiffstats
path: root/gis/gdal/gdal.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/gdal/gdal.SlackBuild')
-rw-r--r--gis/gdal/gdal.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 2973ebf43c..7ab777df08 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -71,6 +71,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/poppler.patch
+
# OpenCL, webp, Spatialite and Grass support need special arrangements.
# Everything else is handled automatically by configure.
WITHLIST=""
@@ -112,6 +114,8 @@ else
WITHLIST+=" --with-jpeg=/usr/lib${LIBDIRSUFFIX}"
fi
+# The CPPFLAGS are for the newer mariadb (thanks pprkut!)
+CPPFLAGS="-I/usr/include/mysql/server" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \