summaryrefslogtreecommitdiff
path: root/sysutils/dbus
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-06-14 10:24:52 +0000
committertnn <tnn@pkgsrc.org>2008-06-14 10:24:52 +0000
commit96502be895b317dc14883befd7a9a9a735befdca (patch)
tree84d5a7796f0a9c1c60c3d04d79a81b13b0fcb7f8 /sysutils/dbus
parent7cde8e4a3f8a91b113ab79d489c15a64212f7940 (diff)
downloadpkgsrc-96502be895b317dc14883befd7a9a9a735befdca.tar.gz
restore patch fragment that was lost in the recent update
Diffstat (limited to 'sysutils/dbus')
-rw-r--r--sysutils/dbus/distinfo4
-rw-r--r--sysutils/dbus/patches/patch-ab23
2 files changed, 23 insertions, 4 deletions
diff --git a/sysutils/dbus/distinfo b/sysutils/dbus/distinfo
index 738dcb5ebaf..cb7ea302346 100644
--- a/sysutils/dbus/distinfo
+++ b/sysutils/dbus/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.21 2008/06/13 11:28:35 drochner Exp $
+$NetBSD: distinfo,v 1.22 2008/06/14 10:24:52 tnn Exp $
SHA1 (dbus-1.2.1.tar.gz) = 2c5b38d51b486e0143faf7749d298e07a8c71223
RMD160 (dbus-1.2.1.tar.gz) = 88b20e16251e10e205fece57e6b434a7aa43b615
Size (dbus-1.2.1.tar.gz) = 1406833 bytes
SHA1 (patch-aa) = e527a1a1f937781ce4204a325e3ff7f31fd6afa8
-SHA1 (patch-ab) = 20253f9730a1bd1e233240e6374e30e7fe0586c8
+SHA1 (patch-ab) = 586c1c459fd194ba5e26bd74caac1c26f890ec42
SHA1 (patch-ac) = afec419973f339e846dc109866148529f80998b3
SHA1 (patch-ag) = 9539b91fb496681b03854ebdc698b53ae43e6ba6
SHA1 (patch-ai) = 046f3a78c465b28595abf278aac942f7f0d0a297
diff --git a/sysutils/dbus/patches/patch-ab b/sysutils/dbus/patches/patch-ab
index 574379c6bb3..677f83f0c38 100644
--- a/sysutils/dbus/patches/patch-ab
+++ b/sysutils/dbus/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.10 2008/06/13 11:28:35 drochner Exp $
+$NetBSD: patch-ab,v 1.11 2008/06/14 10:24:52 tnn Exp $
---- dbus/dbus-sysdeps-unix.c.orig 2008-04-04 11:24:08.000000000 -0400
+--- dbus/dbus-sysdeps-unix.c.orig 2008-04-04 17:24:08.000000000 +0200
+++ dbus/dbus-sysdeps-unix.c
@@ -35,6 +35,9 @@
#include "dbus-list.h"
@@ -62,3 +62,22 @@ $NetBSD: patch-ab,v 1.10 2008/06/13 11:28:35 drochner Exp $
#ifdef DBUS_BUILD_TESTS
/** Gets our GID
+@@ -2711,8 +2733,18 @@ int
+ _dbus_printf_string_upper_bound (const char *format,
+ va_list args)
+ {
++#if defined(__hpux) || defined(__sgi)
++/* this code from libnbcompat's vsnprintf */
++ static FILE *devnull = 0;
++ if (!devnull) {
++ devnull = fopen("/dev/null", "w");
++ if (!devnull) return -1;
++ }
++ return vfprintf(devnull, format, args);
++#else
+ char c;
+ return vsnprintf (&c, 1, format, args);
++#endif
+ }
+
+ /**