diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/01_libcompat-drop-non-portable-cat-command.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/01_libcompat-drop-non-portable-cat-command.patch b/patches/01_libcompat-drop-non-portable-cat-command.patch new file mode 100644 index 0000000..4674ee3 --- /dev/null +++ b/patches/01_libcompat-drop-non-portable-cat-command.patch @@ -0,0 +1,15 @@ +Author: "P. J. McDermott" <pj@pehjota.net> +Subject: libcompat: Drop non-portable cat command + +diff -Naur src.orig/libcompat src/libcompat +--- src.orig/libcompat 2013-10-29 11:44:51.000000000 -0400 ++++ src/libcompat 2014-06-27 00:15:09.857704139 -0400 +@@ -5,7 +5,7 @@ + + for i in $FILES + do +- ID="`dd bs=8 count=1 < $i 2>/dev/null | cat -v`" ++ ID="`dd bs=8 count=1 < $i 2>/dev/null`" + [ "$ID" != "!<arch>" ] && { + make ld86r || exit $? + |