summaryrefslogtreecommitdiffstats
path: root/patches/01_libcompat-drop-non-portable-cat-command.patch
blob: 4674ee337e8ae9a23ac072e551cae6c930af86f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 $?