aboutsummaryrefslogtreecommitdiff
path: root/system/reiser4progs/reiser4progs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/reiser4progs/reiser4progs.SlackBuild')
-rw-r--r--system/reiser4progs/reiser4progs.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/reiser4progs/reiser4progs.SlackBuild b/system/reiser4progs/reiser4progs.SlackBuild
index ab58d3f13a152..1728c00da4caf 100644
--- a/system/reiser4progs/reiser4progs.SlackBuild
+++ b/system/reiser4progs/reiser4progs.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=reiser4progs
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,6 +52,12 @@ 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 {} \;
+# 20170214 bkw: Fix unresolved symbol errors when trying to link with
+# -lreiser4. This doesn't affect reiser4progs itself, but allows other
+# programs (in particular, partclone) to link with its library. Patched
+# code originally came from the partclone maintainer.
+patch -p1 < $CWD/fix_libreiser4_linking.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \