summaryrefslogtreecommitdiffstats
path: root/source/a
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-06-28 21:57:58 +0000
committer Eric Hameleers <alien@slackware.com>2020-06-29 08:59:53 +0200
commitc1b337e06ee4ea307f7a8307d0bf370576ea404f (patch)
treec4dddc3cadf4f2b5948e05ac2ca446a2b701f6ed /source/a
parent93abc85df8a72067aecc72c4773d00b040d6a1e2 (diff)
downloadcurrent-c1b337e06ee4ea307f7a8307d0bf370576ea404f.tar.gz
current-c1b337e06ee4ea307f7a8307d0bf370576ea404f.tar.xz
Sun Jun 28 21:57:58 UTC 202020200628215758
x/libwacom-1.4-x86_64-2.txz: Rebuilt. Fix joystick property matching in udev rule. Thanks to Pixxt.
Diffstat (limited to 'source/a')
-rwxr-xr-xsource/a/util-linux/util-linux.SlackBuild5
-rw-r--r--source/a/util-linux/util-linux.chfn.diff18
2 files changed, 22 insertions, 1 deletions
diff --git a/source/a/util-linux/util-linux.SlackBuild b/source/a/util-linux/util-linux.SlackBuild
index a7eaff24a..7d149b4ff 100755
--- a/source/a/util-linux/util-linux.SlackBuild
+++ b/source/a/util-linux/util-linux.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=util-linux
VERSION=${VERSION:-$(echo util-linux*.tar.xz | cut -d - -f 3 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
ADJTIMEXVERS=1.29
SETSERIALVERS=2.17
@@ -123,6 +123,9 @@ zcat $CWD/util-linux.fdisk-no-solaris.diff.gz | patch -p1 --verbose || exit 1
# /dev/ram* devices in 'fdisk -l' output:
zcat $CWD/util-linux.do.not.list.ram.devices.diff.gz | patch -p1 --verbose || exit 1
+# Fix a chfn bug when using readline:
+zcat $CWD/util-linux.chfn.diff.gz | patch -p1 --verbose || exit 1
+
# This just call the configure script with $1 either being 2 for python2
# or 3 for python3.
#
diff --git a/source/a/util-linux/util-linux.chfn.diff b/source/a/util-linux/util-linux.chfn.diff
new file mode 100644
index 000000000..7947f72d1
--- /dev/null
+++ b/source/a/util-linux/util-linux.chfn.diff
@@ -0,0 +1,18 @@
+--- ./login-utils/chfn.c.orig 2020-05-20 07:27:43.465013472 -0500
++++ ./login-utils/chfn.c 2020-06-27 14:11:54.733895362 -0500
+@@ -236,12 +236,13 @@
+ if (!def_val)
+ def_val = "";
+ while (true) {
+- printf("%s [%s]: ", question, def_val);
++ printf("%s [%s]:", question, def_val);
+ __fpurge(stdin);
+ #ifdef HAVE_LIBREADLINE
+ rl_bind_key('\t', rl_insert);
+- if ((buf = readline(NULL)) == NULL)
++ if ((buf = readline(" ")) == NULL)
+ #else
++ printf(" ");
+ if (getline(&buf, &dummy, stdin) < 0)
+ #endif
+ errx(EXIT_FAILURE, _("Aborted."));