From 68ee93625bbda2724e5897efa1bf7b5f80fe21d9 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 28 Dec 2014 20:49:12 -0600 Subject: [PATCH] surprisingly, patch --posix isn't very helpful --- update.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 5ed0370..b6b18e4 100755 --- a/update.sh +++ b/update.sh @@ -25,7 +25,7 @@ libutil_src=$dir/openbsd/src/lib/libutil ntpd_src=$dir/openbsd/src/usr.sbin/ntpd CP='cp -p' -PATCH='patch -p0 -s --posix' +PATCH='patch -p0 -s' cp $libc_inc/md5.h include/md5_openbsd.h cp $libc_inc/sha2.h include/sha2_openbsd.h @@ -52,7 +52,8 @@ $CP $libcrypto_src/crypto/arc4random_*.h compat for i in client.c config.c control.c log.c ntp.c ntp.h ntp_dns.c ntp_msg.c \ ntpd.c ntpd.h parse.y sensors.c server.c util.c \ ntpctl.8 ntpd.8 ntpd.conf.5 ; do - cp $ntpd_src/$i . + echo Copying `basename $i` + $CP $ntpd_src/$i . done $PATCH < client.patch $PATCH < config.patch