summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-09-14 16:15:05 +0000
committerbjs <bjs@pkgsrc.org>2008-09-14 16:15:05 +0000
commit3e398b961be715f112c864ee785b926ea54e0d22 (patch)
treed456b46f9bf96d7f05c02d5e9ff1edcd7e467f6f /sysutils
parentb4a23ef7ee6dbab8b87a1fbf8bafade19d70df65 (diff)
downloadpkgsrc-3e398b961be715f112c864ee785b926ea54e0d22.tar.gz
Instead of using PRId32 (which fixed the amd64 build only to break i386),
just use %lld and cast time() to (long long int) in xferlogs/xferlogs.c. PKGREVISION++.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/open-vm-tools/Makefile4
-rw-r--r--sysutils/open-vm-tools/distinfo5
-rw-r--r--sysutils/open-vm-tools/patches/patch-ax11
-rw-r--r--sysutils/open-vm-tools/patches/patch-bx15
4 files changed, 21 insertions, 14 deletions
diff --git a/sysutils/open-vm-tools/Makefile b/sysutils/open-vm-tools/Makefile
index a507ec9f47c..475dfc39087 100644
--- a/sysutils/open-vm-tools/Makefile
+++ b/sysutils/open-vm-tools/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2008/09/05 04:34:46 bjs Exp $
+# $NetBSD: Makefile,v 1.8 2008/09/14 16:15:05 bjs Exp $
DISTNAME= open-vm-tools-2008.08.08-109361
PKGNAME= open-vm-tools-2008.08.08.109361
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=open-vm-tools/}
diff --git a/sysutils/open-vm-tools/distinfo b/sysutils/open-vm-tools/distinfo
index c773040b0ef..ca5a679ac96 100644
--- a/sysutils/open-vm-tools/distinfo
+++ b/sysutils/open-vm-tools/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2008/09/05 04:34:46 bjs Exp $
+$NetBSD: distinfo,v 1.4 2008/09/14 16:15:05 bjs Exp $
SHA1 (open-vm-tools-2008.08.08-109361.tar.gz) = 1c44c3524cd9cbc5870f1c6065b03a6b31859a25
RMD160 (open-vm-tools-2008.08.08-109361.tar.gz) = 4ea0a6aa2edda2bc404c865dc5b58f3a177ae411
@@ -26,7 +26,7 @@ SHA1 (patch-at) = 659b97c50168fa74f3e6a8ffe2bafae0420f0d49
SHA1 (patch-au) = 31eeee4521020952ef51b29351802efd9fe4297f
SHA1 (patch-av) = b61f165fd9a6e5241795e2e69aa73caba32539a8
SHA1 (patch-aw) = 82788d7ab312ee07abf3e159028b440d41912a14
-SHA1 (patch-ax) = 4906da20bc5ce40fe273b8cc008381dfdda544fe
+SHA1 (patch-ax) = 2649c492f501143098e41601d9ae1bc6c9ddf9cc
SHA1 (patch-ay) = c9c7a7f9871fdc3213bafce05a7433db862ac4a4
SHA1 (patch-az) = 2a8494c8cbfb0270a5fdd46e0c5ccaf19fc5f94f
SHA1 (patch-ba) = cb0433af4a7c5c9a9010edbc15998577c44c92ae
@@ -52,3 +52,4 @@ SHA1 (patch-bt) = 34c85d8d994c33fb4e18f76bb8b6baa41098f23e
SHA1 (patch-bu) = 9e2533d967cfb1cdc780516359ab8e7c373b70f5
SHA1 (patch-bv) = c15eadcf4968703c9bf4c16d368f7f7b5b39b046
SHA1 (patch-bw) = 002f3a78a5d0f52d1e1a2cd62f6ad8136f531939
+SHA1 (patch-bx) = acdb1d8f25d4353e0d95ea613ea83580679b4d9f
diff --git a/sysutils/open-vm-tools/patches/patch-ax b/sysutils/open-vm-tools/patches/patch-ax
index b20dce0143f..e2b7061cdf7 100644
--- a/sysutils/open-vm-tools/patches/patch-ax
+++ b/sysutils/open-vm-tools/patches/patch-ax
@@ -1,4 +1,4 @@
-$NetBSD: patch-ax,v 1.3 2008/09/05 04:34:46 bjs Exp $
+$NetBSD: patch-ax,v 1.4 2008/09/14 16:15:05 bjs Exp $
--- lib/include/vm_basic_types.h.orig 2008-08-08 03:01:52.000000000 -0400
+++ lib/include/vm_basic_types.h
@@ -39,12 +39,3 @@ $NetBSD: patch-ax,v 1.3 2008/09/05 04:34:46 bjs Exp $
# ifdef _BSD_SIZE_T_
# undef _BSD_SIZE_T_
# ifdef VM_I386
-@@ -825,6 +826,8 @@ typedef void * UserVA;
- */
- #if defined(__FreeBSD__) && (__FreeBSD__ + 0) && ((__FreeBSD__ + 0) >= 5)
- # define FMTTIME FMTSZ"d"
-+#elif defined (__NetBSD__)
-+# define FMTTIME PRId32
- #else
- # define FMTTIME "ld"
- #endif
diff --git a/sysutils/open-vm-tools/patches/patch-bx b/sysutils/open-vm-tools/patches/patch-bx
new file mode 100644
index 00000000000..d32bc505136
--- /dev/null
+++ b/sysutils/open-vm-tools/patches/patch-bx
@@ -0,0 +1,15 @@
+$NetBSD: patch-bx,v 1.1 2008/09/14 16:15:05 bjs Exp $
+
+--- xferlogs/xferlogs.c.orig 2008-08-08 03:01:57.000000000 -0400
++++ xferlogs/xferlogs.c
+@@ -200,8 +200,8 @@ extractFile(char *filename) //IN: vmx lo
+ * Ignore the filename in the log, for obvious security reasons
+ * and create a new filename consiting of time and enumerator.
+ */
+- Str_Sprintf(fname, sizeof fname, "%d_%"FMTTIME".log",
+- filenu++, time(NULL));
++ Str_Sprintf(fname, sizeof fname, "%d_%lld.log",
++ filenu++, (long long)time(NULL));
+
+ /*
+ * Read the version information, if they dont match just warn