pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/libical libical: Sprinkle limits.h, fixes SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61a59de020cc
branches:  trunk
changeset: 380245:61a59de020cc
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 14 08:34:56 2018 +0000

description:
libical: Sprinkle limits.h, fixes SunOS.

diffstat:

 time/libical/distinfo                                  |   5 +++--
 time/libical/patches/patch-src_libical_icalcomponent.c |  14 ++++++++++++++
 time/libical/patches/patch-src_libical_icaltz-util.c   |  13 +++++++++++--
 3 files changed, 28 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r 6545c6adfede -r 61a59de020cc time/libical/distinfo
--- a/time/libical/distinfo     Mon May 14 08:13:20 2018 +0000
+++ b/time/libical/distinfo     Mon May 14 08:34:56 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2018/04/25 05:51:20 markd Exp $
+$NetBSD: distinfo,v 1.8 2018/05/14 08:34:56 jperkin Exp $
 
 SHA1 (libical-3.0.3.tar.gz) = 3ca0c859de22cf05e87f8139499ab1e3d8dd1d00
 RMD160 (libical-3.0.3.tar.gz) = 83960fbd48def56f9e5d4c472d637e210066303a
 SHA512 (libical-3.0.3.tar.gz) = 319a9e02b34835eb222728cb691b18e4f490b21f7faa55d266f298c07dafb5e15a492fb2105e2c3ab6d60d2affcf430b5b248cc38abc1e3bc29143662676fe70
 Size (libical-3.0.3.tar.gz) = 866624 bytes
-SHA1 (patch-src_libical_icaltz-util.c) = 4e3dcf8298586b3477a3961409be81cd7a743788
+SHA1 (patch-src_libical_icalcomponent.c) = 6f86ee6e4daba04178f25f8d042dd4773dbb1cab
+SHA1 (patch-src_libical_icaltz-util.c) = 60a7359284a54d345ffe71f75081e9ac27b666b9
diff -r 6545c6adfede -r 61a59de020cc time/libical/patches/patch-src_libical_icalcomponent.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/libical/patches/patch-src_libical_icalcomponent.c    Mon May 14 08:34:56 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_libical_icalcomponent.c,v 1.1 2018/05/14 08:34:56 jperkin Exp $
+
+Need limits.h for *_MAX
+
+--- src/libical/icalcomponent.c.orig   2018-02-27 15:34:25.000000000 +0000
++++ src/libical/icalcomponent.c
+@@ -28,6 +28,7 @@
+ #include "icaltimezone.h"
+ 
+ #include <assert.h>
++#include <limits.h>
+ #include <stdlib.h>
+ 
+ struct icalcomponent_impl
diff -r 6545c6adfede -r 61a59de020cc time/libical/patches/patch-src_libical_icaltz-util.c
--- a/time/libical/patches/patch-src_libical_icaltz-util.c      Mon May 14 08:13:20 2018 +0000
+++ b/time/libical/patches/patch-src_libical_icaltz-util.c      Mon May 14 08:34:56 2018 +0000
@@ -1,10 +1,19 @@
-$NetBSD: patch-src_libical_icaltz-util.c,v 1.1 2018/04/25 05:51:20 markd Exp $
+$NetBSD: patch-src_libical_icaltz-util.c,v 1.2 2018/05/14 08:34:56 jperkin Exp $
 
 Define bswap_32 on NetBSD
+Need limits.h for CHAR_BIT
 
 --- src/libical/icaltz-util.c.orig     2018-02-27 15:34:25.000000000 +0000
 +++ src/libical/icaltz-util.c
-@@ -48,6 +48,9 @@
+@@ -25,6 +25,7 @@
+ #include "icalerror.h"
+ #include "icaltimezone.h"
+ 
++#include <limits.h>
+ #include <stdlib.h>
+ 
+ #if defined(sun) && defined(__SVR4)
+@@ -48,6 +49,9 @@
  #endif
  #endif
  



Home | Main Index | Thread Index | Old Index