summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/openbsd_baseutils.local.patch24
1 files changed, 22 insertions, 2 deletions
diff --git a/patches/openbsd_baseutils.local.patch b/patches/openbsd_baseutils.local.patch
index e41f5695..2e8600ce 100644
--- a/patches/openbsd_baseutils.local.patch
+++ b/patches/openbsd_baseutils.local.patch
@@ -11,8 +11,17 @@ 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
+--- baseutils/pax/Makefile.orig 2020-05-24 11:18:45.017286972 +0100
++++ baseutils/pax/Makefile 2020-06-02 09:56:05.077777147 +0100
+@@ -2,7 +2,7 @@
+
+ CC ?= cc
+ CFLAGS ?= -O2 -pipe
+-CFLAGS += -I../libopenbsd -include openbsd.h
++override CFLAGS += -I../libopenbsd -include openbsd.h
+
+ LIBS = ../libopenbsd/libopenbsd.a
+
@@ -18,12 +18,7 @@
${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBS}
@@ -27,3 +36,14 @@ index be8d065..41ffd57 100644
clean:
rm -f ${PROG} ${OBJS}
+--- baseutils/libopenbsd/Makefile.orig 2020-05-24 11:18:44.985288127 +0100
++++ baseutils/libopenbsd/Makefile 2020-06-02 10:07:01.438320324 +0100
+@@ -2,7 +2,7 @@
+
+ CC ?= cc
+ CFLAGS ?= -O2 -pipe
+-CFLAGS += -I.
++override CFLAGS += -I.
+
+ LIB = libopenbsd.a
+ OBJS = arc4random.o basename.o dirname.o e_atan2.o e_exp.o e_fmod.o e_log.o e_log10.o e_pow.o e_rem_pio2.o e_sqrt.o errc.o fgetln.o \