summaryrefslogtreecommitdiff
path: root/textproc/libplist
diff options
context:
space:
mode:
authorshattered <shattered>2012-01-01 14:39:33 +0000
committershattered <shattered>2012-01-01 14:39:33 +0000
commit57cc4ecf11a86022acc7bfbdf815fa45390db1fa (patch)
tree36faaf25d6dc2cc1628fc518cd0666294b87447e /textproc/libplist
parent76726ad01a485420df881fb69dff681bf8fc35f6 (diff)
downloadpkgsrc-57cc4ecf11a86022acc7bfbdf815fa45390db1fa.tar.gz
Fix build on 5.1/amd64 (PR 45691) -- cast long tv_sec to time_t. Not
a problem in -current, where tv_sec is time_t.
Diffstat (limited to 'textproc/libplist')
-rw-r--r--textproc/libplist/Makefile3
-rw-r--r--textproc/libplist/distinfo3
-rw-r--r--textproc/libplist/patches/patch-swig_plist.i13
3 files changed, 17 insertions, 2 deletions
diff --git a/textproc/libplist/Makefile b/textproc/libplist/Makefile
index 4352b83fb5f..dfb63fb4e58 100644
--- a/textproc/libplist/Makefile
+++ b/textproc/libplist/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2011/11/23 23:33:18 shattered Exp $
+# $NetBSD: Makefile,v 1.3 2012/01/01 14:39:33 shattered Exp $
#
DISTNAME= libplist-1.4
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.libimobiledevice.org/downloads/
EXTRACT_SUFX= .tar.bz2
diff --git a/textproc/libplist/distinfo b/textproc/libplist/distinfo
index f2aaa0b1ba6..486a927ee65 100644
--- a/textproc/libplist/distinfo
+++ b/textproc/libplist/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2011/11/23 23:33:18 shattered Exp $
+$NetBSD: distinfo,v 1.3 2012/01/01 14:39:33 shattered Exp $
SHA1 (libplist-1.4.tar.bz2) = 82e98d13cdff1a62ad1184d515d71e8898866ee4
RMD160 (libplist-1.4.tar.bz2) = a00366f0fe164d7bd5d516092e2731b3233ac075
Size (libplist-1.4.tar.bz2) = 68176 bytes
SHA1 (patch-cmake_modules_FindGLIB2.cmake) = 7e61b972dee88d288ebdc067440889d71011e1ed
+SHA1 (patch-swig_plist.i) = f4a375c2b96c8eb04c5f53f4753703c0bb86088d
diff --git a/textproc/libplist/patches/patch-swig_plist.i b/textproc/libplist/patches/patch-swig_plist.i
new file mode 100644
index 00000000000..6b96cb474bb
--- /dev/null
+++ b/textproc/libplist/patches/patch-swig_plist.i
@@ -0,0 +1,13 @@
+$NetBSD: patch-swig_plist.i,v 1.1 2012/01/01 14:39:33 shattered Exp $
+
+--- swig/plist.i.orig 2011-03-20 16:45:21.000000000 +0000
++++ swig/plist.i
+@@ -34,7 +34,7 @@
+ }
+
+ %typemap(out) timeval {
+- struct tm* t = gmtime ( &$1.tv_sec );
++ struct tm* t = gmtime ( (time_t*)&$1.tv_sec );
+ if (t)
+ {
+ PyDateTime_IMPORT;