summaryrefslogtreecommitdiff
path: root/gis/pointcloud/pointcloud.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 08:06:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-07 08:08:46 +0700
commit59b76a143ffe333cc692d01d25c0324c756f377f (patch)
tree6d43c40185a2a77e3316c02d42d4cca72ebb1f81 /gis/pointcloud/pointcloud.SlackBuild
parentd93bb82d8b24691d901a4760cd6ad3d2085f798f (diff)
downloadslackbuilds-59b76a143ffe333cc692d01d25c0324c756f377f.tar.gz
gis/pointcloud: Fix build against postgresql 9.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/pointcloud/pointcloud.SlackBuild')
-rw-r--r--gis/pointcloud/pointcloud.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/gis/pointcloud/pointcloud.SlackBuild b/gis/pointcloud/pointcloud.SlackBuild
index c37bfef672..236b83aa0c 100644
--- a/gis/pointcloud/pointcloud.SlackBuild
+++ b/gis/pointcloud/pointcloud.SlackBuild
@@ -67,11 +67,15 @@ else
fi
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Upstream commit
+# please remove it on next release
+patch -p1 < $CWD/postgresql9.5.patch
./autogen.sh
CFLAGS="$SLKCFLAGS" \