aboutsummaryrefslogtreecommitdiff
path: root/system/ccrypt
diff options
context:
space:
mode:
Diffstat (limited to 'system/ccrypt')
-rw-r--r--system/ccrypt/ccrypt.SlackBuild4
-rw-r--r--system/ccrypt/emacs.patch11
2 files changed, 14 insertions, 1 deletions
diff --git a/system/ccrypt/ccrypt.SlackBuild b/system/ccrypt/ccrypt.SlackBuild
index 0fb41d2259..00d9caa545 100644
--- a/system/ccrypt/ccrypt.SlackBuild
+++ b/system/ccrypt/ccrypt.SlackBuild
@@ -34,7 +34,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="ccrypt"
VERSION=${VERSION:-1.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,6 +83,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+patch -p1 < $CWD/emacs.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/system/ccrypt/emacs.patch b/system/ccrypt/emacs.patch
new file mode 100644
index 0000000000..003e7e00d7
--- /dev/null
+++ b/system/ccrypt/emacs.patch
@@ -0,0 +1,11 @@
+--- ccrypt-1.11/emacs/ps-ccrypt.el.orig 2025-08-09 22:39:46.168206463 +0700
++++ ccrypt-1.11/emacs/ps-ccrypt.el 2025-08-09 22:40:09.539760630 +0700
+@@ -486,7 +486,7 @@
+ :type 'string
+ :group 'ps-ccrypt)
+
+-(defvar ps-ccrypt-temp-name-table (make-vector 31 nil))
++(defvar ps-ccrypt-temp-name-table (make-vector 31 0))
+
+ (defun ps-ccrypt-make-temp-name (&optional local-copy)
+ "This routine will return the name of a new file."