pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/dateutils dateutils: fix SunOS build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b908eb56e082
branches:  trunk
changeset: 313416:b908eb56e082
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sat Sep 29 17:18:19 2018 +0000

description:
dateutils: fix SunOS build

diffstat:

 time/dateutils/Makefile                       |   3 ++-
 time/dateutils/distinfo                       |   3 ++-
 time/dateutils/patches/patch-build-aux_yuck.c |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r ba79cd44c67b -r b908eb56e082 time/dateutils/Makefile
--- a/time/dateutils/Makefile   Sat Sep 29 16:55:36 2018 +0000
+++ b/time/dateutils/Makefile   Sat Sep 29 17:18:19 2018 +0000
@@ -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 -r ba79cd44c67b -r b908eb56e082 time/dateutils/distinfo
--- a/time/dateutils/distinfo   Sat Sep 29 16:55:36 2018 +0000
+++ b/time/dateutils/distinfo   Sat Sep 29 17:18:19 2018 +0000
@@ -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 @@
 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 -r ba79cd44c67b -r b908eb56e082 time/dateutils/patches/patch-build-aux_yuck.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/dateutils/patches/patch-build-aux_yuck.c     Sat Sep 29 17:18:19 2018 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index