diff options
author | wiedi <wiedi@pkgsrc.org> | 2018-09-29 17:18:19 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2018-09-29 17:18:19 +0000 |
commit | 31ed94bf22d77bc591605becbbadf3dd7b1242f1 (patch) | |
tree | 4d473e07b81fbb6ddc1f5c8826b17eafb6c61d0b /time/dateutils | |
parent | 6309b374f1b8a051ec5d9227888447e3314fb01d (diff) | |
download | pkgsrc-31ed94bf22d77bc591605becbbadf3dd7b1242f1.tar.gz |
dateutils: fix SunOS build
Diffstat (limited to 'time/dateutils')
-rw-r--r-- | time/dateutils/Makefile | 3 | ||||
-rw-r--r-- | time/dateutils/distinfo | 3 | ||||
-rw-r--r-- | time/dateutils/patches/patch-build-aux_yuck.c | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/time/dateutils/Makefile b/time/dateutils/Makefile index 9099273489a..1555df68519 100644 --- a/time/dateutils/Makefile +++ b/time/dateutils/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2018/04/03 07:09:32 mef Exp $ +# $NetBSD: Makefile,v 1.11 2018/09/29 17:18:19 wiedi Exp $ DISTNAME= dateutils-0.4.3 +PKGREVISION= 1 CATEGORIES= time #MASTER_SITES= ${MASTER_SITE_GITHUB:=hroptatyr/} MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/ diff --git a/time/dateutils/distinfo b/time/dateutils/distinfo index 1e9a82474a2..603eca5e262 100644 --- a/time/dateutils/distinfo +++ b/time/dateutils/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2018/04/03 07:09:32 mef Exp $ +$NetBSD: distinfo,v 1.10 2018/09/29 17:18:19 wiedi Exp $ SHA1 (dateutils-0.4.3.tar.xz) = a4a4e36ad3042665c8af3222126551b5c6bbb61a RMD160 (dateutils-0.4.3.tar.xz) = ab629abea195ca853534bffd18353800ef4a2591 @@ -6,5 +6,6 @@ SHA512 (dateutils-0.4.3.tar.xz) = 0210ad1f47aec77b8b87a520da9155430b52068e53733e Size (dateutils-0.4.3.tar.xz) = 631216 bytes SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f SHA1 (patch-Makefile.in) = ff5aaffb2046f17189b9074090c68295df5fb57a +SHA1 (patch-build-aux_yuck.c) = cd0be0ed0d0165f253165bff3609d8bcfaf1e67c SHA1 (patch-configure) = 09afa4f5237d8bc20a0585e97d616f0830f80d7c SHA1 (patch-m4_sxe-compiler.m4) = 8df17f891ba18ff54555e302388f0fe184fa33bc diff --git a/time/dateutils/patches/patch-build-aux_yuck.c b/time/dateutils/patches/patch-build-aux_yuck.c new file mode 100644 index 00000000000..35905362849 --- /dev/null +++ b/time/dateutils/patches/patch-build-aux_yuck.c @@ -0,0 +1,15 @@ +$NetBSD: patch-build-aux_yuck.c,v 1.1 2018/09/29 17:18:20 wiedi Exp $ + +no need for sysctl on SunOS +--- build-aux/yuck.c.orig 2018-03-01 09:55:48.000000000 +0000 ++++ build-aux/yuck.c +@@ -62,7 +62,9 @@ + #include <sys/wait.h> + #include <sys/stat.h> + #include <sys/types.h> ++#if !defined(__sun) + #include <sys/sysctl.h> ++#endif + #include <time.h> + #if defined WITH_SCMVER + # include <yuck-scmver.h> |