summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-02-26 15:04:43 +0000
committerjmmv <jmmv@pkgsrc.org>2005-02-26 15:04:43 +0000
commit813cf28d661c2f3bf6c78a629d1ce0562393bea4 (patch)
treed9d092406ee897ce92e865556353b7e66f4dfd6d
parentf4b06070ccd0ce6bdca1eec61f1161a169506ac4 (diff)
downloadpkgsrc-813cf28d661c2f3bf6c78a629d1ce0562393bea4.tar.gz
Fix build on archs where va_list is not a pointer. Closes PR pkg/29535 by
Kibum Han (reporting failure under amd64).
-rw-r--r--devel/libgnome/distinfo3
-rw-r--r--devel/libgnome/patches/patch-ba15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/libgnome/distinfo b/devel/libgnome/distinfo
index 257d46132cb..9ee88573082 100644
--- a/devel/libgnome/distinfo
+++ b/devel/libgnome/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.20 2005/02/23 22:24:18 agc Exp $
+$NetBSD: distinfo,v 1.21 2005/02/26 15:04:43 jmmv Exp $
SHA1 (libgnome-2.8.1.tar.bz2) = 6a6032f82ef511ae3e4872a7ebdfe44dcc4b29f1
RMD160 (libgnome-2.8.1.tar.bz2) = 42662252ca83ccc5c901597fc327ca6c51d1e774
Size (libgnome-2.8.1.tar.bz2) = 1178438 bytes
SHA1 (patch-aa) = 349be2770b6578057ae1ded589e71765c63c12af
SHA1 (patch-af) = 783e295d1714b7c121538ed7459ffbcf3ff3713a
+SHA1 (patch-ba) = e2632e0a5bfa60eeb81bb6a8cb6a2a894fde64af
diff --git a/devel/libgnome/patches/patch-ba b/devel/libgnome/patches/patch-ba
new file mode 100644
index 00000000000..4cbd359d6e6
--- /dev/null
+++ b/devel/libgnome/patches/patch-ba
@@ -0,0 +1,15 @@
+$NetBSD: patch-ba,v 1.4 2005/02/26 15:04:43 jmmv Exp $
+
+--- libgnome/gnome-program.c.orig 2005-02-21 13:39:01.000000000 +0100
++++ libgnome/gnome-program.c
+@@ -1928,7 +1928,9 @@ gnome_program_init_paramv (GType type,
+ int argc, char **argv,
+ guint nparams, GParameter *params)
+ {
+- va_list args = 0;
++ /* Leaving args uninitialized is safe because gnome_program_init_common
++ * checks for the value of nparams. */
++ va_list args;
+
+ return gnome_program_init_common (type, app_id, app_version, module_info,
+ argc, argv, NULL, args, nparams, params);