summaryrefslogtreecommitdiff
path: root/textproc/libplist
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-09-29 08:39:22 +0000
committerdholland <dholland@pkgsrc.org>2012-09-29 08:39:22 +0000
commit222d77c1402c1e52a254d49c25a80a7f39b2f345 (patch)
tree99186ef378e5792386d5f7c2147a34e42919d9bd /textproc/libplist
parent8e320ab5dcc01d4d0c22ec7fb900331f6adb28e5 (diff)
downloadpkgsrc-222d77c1402c1e52a254d49c25a80a7f39b2f345.tar.gz
Replace undefined behavior in patch with defined behavior. PKGREVISION -> 2
Diffstat (limited to 'textproc/libplist')
-rw-r--r--textproc/libplist/Makefile4
-rw-r--r--textproc/libplist/distinfo4
-rw-r--r--textproc/libplist/patches/patch-swig_plist.i11
3 files changed, 11 insertions, 8 deletions
diff --git a/textproc/libplist/Makefile b/textproc/libplist/Makefile
index ec4819f7234..1de4706db7a 100644
--- a/textproc/libplist/Makefile
+++ b/textproc/libplist/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2012/06/14 07:43:08 sbd Exp $
+# $NetBSD: Makefile,v 1.9 2012/09/29 08:39:22 dholland Exp $
#
DISTNAME= libplist-1.8
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://www.libimobiledevice.org/downloads/
EXTRACT_SUFX= .tar.bz2
diff --git a/textproc/libplist/distinfo b/textproc/libplist/distinfo
index 018e5a675bd..4ecbd63706f 100644
--- a/textproc/libplist/distinfo
+++ b/textproc/libplist/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2012/04/22 16:11:13 wiz Exp $
+$NetBSD: distinfo,v 1.6 2012/09/29 08:39:22 dholland Exp $
SHA1 (libplist-1.8.tar.bz2) = dea18ac31cc497dba959bdb459a2a49fb41664c3
RMD160 (libplist-1.8.tar.bz2) = b8da55db4bec34e4c8b9126da0ea46e79f36ccf1
Size (libplist-1.8.tar.bz2) = 81278 bytes
SHA1 (patch-libcnary_node.c) = fb68624e544acee262f1440d5920cbb4288c1958
SHA1 (patch-src_base64.c) = efc37b2345e0328eb7c74be1f07487e14eb3d3f6
-SHA1 (patch-swig_plist.i) = f4a375c2b96c8eb04c5f53f4753703c0bb86088d
+SHA1 (patch-swig_plist.i) = 6ec7b989168e0e20da06722a97631e082cd5b05d
diff --git a/textproc/libplist/patches/patch-swig_plist.i b/textproc/libplist/patches/patch-swig_plist.i
index 6b96cb474bb..6fd672c8fce 100644
--- a/textproc/libplist/patches/patch-swig_plist.i
+++ b/textproc/libplist/patches/patch-swig_plist.i
@@ -1,13 +1,16 @@
-$NetBSD: patch-swig_plist.i,v 1.1 2012/01/01 14:39:33 shattered Exp $
+$NetBSD: patch-swig_plist.i,v 1.2 2012/09/29 08:39:23 dholland Exp $
---- swig/plist.i.orig 2011-03-20 16:45:21.000000000 +0000
+Fix build on platforms where tv_sec isn't time_t.
+
+--- swig/plist.i.orig 2012-01-11 14:29:30.000000000 +0000
+++ swig/plist.i
-@@ -34,7 +34,7 @@
+@@ -35,7 +35,8 @@
}
%typemap(out) timeval {
- struct tm* t = gmtime ( &$1.tv_sec );
-+ struct tm* t = gmtime ( (time_t*)&$1.tv_sec );
++ time_t mytime = $1.tv_sec;
++ struct tm* t = gmtime ( &mytime );
if (t)
{
PyDateTime_IMPORT;