summaryrefslogtreecommitdiffstats
path: root/system/ded/ded.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ded/ded.SlackBuild')
-rw-r--r--system/ded/ded.SlackBuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ded/ded.SlackBuild b/system/ded/ded.SlackBuild
index 8918208f93..2d952e6df1 100644
--- a/system/ded/ded.SlackBuild
+++ b/system/ded/ded.SlackBuild
@@ -10,6 +10,12 @@
# This build script was written from scratch for 14.1, without referring
# to the old script.
+# 20170305 bkw:
+# - stop gnulib's long filename test from writing to /usr/lib and /var/lib
+
+# 20150909 bkw:
+# - updated for 20150704 release
+
# 20140826 bkw:
# - updated for 20140722 release
# - added td_lib docs in /usr/doc
@@ -70,6 +76,11 @@ 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 {} \;
+# "checking for long filenames" wants to create files in /usr/lib and
+# /var/lib. Violates the principle of least surprise: users don't expect
+# configure scripts (or SlackBuilds) to touch their system directories.
+patch -p1 < $CWD/td_lib_no_write_usr.diff
+
# NB: the -j1's are necessary, even on 'make install'.
CFLAGS="$SLKCFLAGS" \