From 1d283664218882ab3f5c7e6a543b82e336d521c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 22 Nov 2017 11:41:55 +0000 Subject: patches/cron.local.patch: fix filename & merge compat.h patch. --- patches/cron.local.patch | 41 +++++++++++++++++++++++++++++++++++++++++ patches/pkg_cron.local.patch | 22 ---------------------- 2 files changed, 41 insertions(+), 22 deletions(-) create mode 100644 patches/cron.local.patch delete mode 100644 patches/pkg_cron.local.patch (limited to 'patches') diff --git a/patches/cron.local.patch b/patches/cron.local.patch new file mode 100644 index 00000000..930a50b4 --- /dev/null +++ b/patches/cron.local.patch @@ -0,0 +1,41 @@ +--- pkg-cron.git/Makefile.orig 2016-07-11 19:06:33.212362869 +0000 ++++ pkg-cron.git/Makefile 2016-09-11 20:37:42.714987721 +0000 +@@ -79,7 +79,7 @@ + #DEFS = -D_BSD_SIGNALS -Dconst= + #<> + #INSTALL = installbsd +-INSTALL = install -s ++INSTALL = install $(INSTALLFLAGS) + #<> + # LDFLAGS = -s + # Let install do the strip +@@ -118,8 +118,8 @@ + $(CC) $(LDFLAGS) -o crontab $(CRONTAB_OBJ) $(LIBS) + + install : all +- $(INSTALL) -c -m 755 -o root cron $(DESTSBIN)/ +- $(INSTALL) -c -m 4755 -o root crontab $(DESTBIN)/ ++ $(INSTALL) -c -m 755 cron $(DESTSBIN)/ ++ $(INSTALL) -c -m 4755 crontab $(DESTBIN)/ + sh putman.sh crontab.1 $(DESTMAN) + sh putman.sh cron.8 $(DESTMAN) + sh putman.sh crontab.5 $(DESTMAN) +--- pkg-cron.git/compat.h.orig 2017-11-21 23:36:50.268000000 +0000 ++++ pkg-cron.git/compat.h 2017-11-22 11:41:13.036000000 +0000 +@@ -81,12 +81,14 @@ + #endif + + #if (!defined(BSD) || (BSD < 198902)) && !defined(__linux__) && \ +- !defined(IRIX) && !defined(NeXT) && !defined(HPUX) && !defined(__GNU__) && !defined(__GLIBC__) ++ !defined(IRIX) && !defined(NeXT) && !defined(HPUX) && \ ++ !defined(__GNU__) && !defined(__GLIBC__) && !defined(__midipix__) + # define NEED_STRCASECMP + #endif + + #if (!defined(BSD) || (BSD < 198911)) && !defined(__linux__) &&\ +- !defined(IRIX) && !defined(UNICOS) && !defined(HPUX) && !defined(__GNU__) && !defined(__GLIBC__) ++ !defined(IRIX) && !defined(UNICOS) && !defined(HPUX) &&\ ++ !defined(__GNU__) && !defined(__GLIBC__) && !defined(__midipix__) + # define NEED_STRDUP + #endif + diff --git a/patches/pkg_cron.local.patch b/patches/pkg_cron.local.patch deleted file mode 100644 index 4d6bc53e..00000000 --- a/patches/pkg_cron.local.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- pkg-cron.git/Makefile.orig 2016-07-11 19:06:33.212362869 +0000 -+++ pkg-cron.git/Makefile 2016-09-11 20:37:42.714987721 +0000 -@@ -79,7 +79,7 @@ - #DEFS = -D_BSD_SIGNALS -Dconst= - #<> - #INSTALL = installbsd --INSTALL = install -s -+INSTALL = install $(INSTALLFLAGS) - #<> - # LDFLAGS = -s - # Let install do the strip -@@ -118,8 +118,8 @@ - $(CC) $(LDFLAGS) -o crontab $(CRONTAB_OBJ) $(LIBS) - - install : all -- $(INSTALL) -c -m 755 -o root cron $(DESTSBIN)/ -- $(INSTALL) -c -m 4755 -o root crontab $(DESTBIN)/ -+ $(INSTALL) -c -m 755 cron $(DESTSBIN)/ -+ $(INSTALL) -c -m 4755 crontab $(DESTBIN)/ - sh putman.sh crontab.1 $(DESTMAN) - sh putman.sh cron.8 $(DESTMAN) - sh putman.sh crontab.5 $(DESTMAN) -- cgit v1.2.3