slackware-current/source/a/mkinitrd/mkinitrd.tempfile.to.mktemp.patch
Patrick J Volkerding 1cf9f87b65 Mon Apr 27 20:27:30 UTC 2020
a/mkinitrd-1.4.11-x86_64-15.txz:  Rebuilt.
  Use the standard mktemp utility from GNU coreutils, not the old tempfile.
d/help2man-1.47.15-x86_64-1.txz:  Upgraded.
l/aspell-en-2019.10.06_0-x86_64-1.txz:  Upgraded.
l/gtk+3-3.24.20-x86_64-1.txz:  Upgraded.
l/imagemagick-7.0.10_9-x86_64-1.txz:  Upgraded.
n/irssi-1.2.2-x86_64-2.txz:  Rebuilt.
  Fixed ctrl-space killing input with recent glib.
  Thanks to tramtrist and Urchlay.
x/xterm-354-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-de-20161207_7_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-ga-5.1_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-it-2.4_20070901_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-ml-0.04_1-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-pl-6.0_20200327_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-pt_BR-20131030_12_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-pt_PT-20190329_1_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-sk-2.02_0-x86_64-1.txz:  Upgraded.
extra/aspell-word-lists/aspell-tl-0.4_0-x86_64-1.txz:  Upgraded.
2020-04-28 08:59:53 +02:00

19 lines
706 B
Diff

From bbeb9d73191c1c79f5286fd3b1fdb5611fb11301 Mon Sep 17 00:00:00 2001
From: "Patrick J. Volkerding" <volkerdi@slackware.com>
Date: Sun Apr 26 18:51:23 CDT 2020
Subject: [PATCH] Switch from tempfile to mktemp
Use the standard mktemp utility from GNU coreutils rather than the
lesser-known tempfile utility from Debian of yore.
--- mkinitrd.orig 2019-09-04 23:37:08.000000000 -0500
+++ mkinitrd 2020-04-26 18:46:22.352636100 -0500
@@ -235,7 +235,7 @@
# Then copy all remaining libs our initrd files link against:
COUNT=1
- PRFX=$(tempfile --prefix ldd-)
+ PRFX=$(mktemp --suffix -ldd)
TMPFILE=${PRFX}${COUNT}
find $SOURCE_TREE -type f -exec ldd {} 2>/dev/null \; | unify_libs > $TMPFILE