summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-01-28 21:02:00 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-01-28 21:02:00 +0100
commitf303baf669183b72a070b0c4163f41e6c14f9f97 (patch)
treea1ff87661d12b7777e39dc2bd76f4388a99692c6
parent3ffc40010ccc4a5225f7a983f8846b78027888fd (diff)
downloadmidipix_build-f303baf669183b72a070b0c4163f41e6c14f9f97.tar.bz2
midipix_build-f303baf669183b72a070b0c4163f41e6c14f9f97.tar.xz
patches/openbsd_baseutils.local.patch: don't install {cpio,pax,tar}{,.1} (via midipix.)
-rw-r--r--patches/openbsd_baseutils.local.patch31
1 files changed, 16 insertions, 15 deletions
diff --git a/patches/openbsd_baseutils.local.patch b/patches/openbsd_baseutils.local.patch
index f22fa4a1..e41f5695 100644
--- a/patches/openbsd_baseutils.local.patch
+++ b/patches/openbsd_baseutils.local.patch
@@ -1,18 +1,3 @@
-diff -ru baseutils.orig/pax/Makefile baseutils/pax/Makefile
---- baseutils.orig/pax/Makefile 2020-01-12 15:30:00.798505415 +0100
-+++ baseutils/pax/Makefile 2020-01-12 16:17:01.446757336 +0100
-@@ -19,11 +19,7 @@
-
- install:
- install -c -s -m 555 ${PROG} ${PREFIX}/bin/${PROG}
-- install -c -s -m 555 ${PROG} ${PREFIX}/bin/tar
-- install -c -s -m 555 ${PROG} ${PREFIX}/bin/cpio
- install -c -m 444 ${PROG}.1 ${MANDIR}/man1
-- install -c -m 444 tar.1 ${MANDIR}/man1
-- install -c -m 444 cpio.1 ${MANDIR}/man1
-
- clean:
- rm -f ${PROG} ${OBJS}
diff --git a/pax/file_subs.c b/pax/file_subs.c
index be8d065..41ffd57 100644
--- a/pax/file_subs.c
@@ -26,3 +11,19 @@ index be8d065..41ffd57 100644
if (fd == -1) {
if (!in_sig)
syswarn(1, errno, "Unable to restore mode and times"
+--- baseutils/pax/Makefile.orig 2020-01-28 21:00:25.410023800 +0100
++++ baseutils/pax/Makefile 2020-01-28 21:01:19.691416800 +0100
+@@ -18,12 +18,7 @@
+ ${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBS}
+
+ install:
+- install -c -s -m 555 ${PROG} ${PREFIX}/bin/${PROG}
+- install -c -s -m 555 ${PROG} ${PREFIX}/bin/tar
+- install -c -s -m 555 ${PROG} ${PREFIX}/bin/cpio
+- install -c -m 444 ${PROG}.1 ${MANDIR}/man1
+- install -c -m 444 tar.1 ${MANDIR}/man1
+- install -c -m 444 cpio.1 ${MANDIR}/man1
++
+
+ clean:
+ rm -f ${PROG} ${OBJS}