pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libgnome Fix build on archs where va_list is not...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b999624ad5e4
branches: trunk
changeset: 489768:b999624ad5e4
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sat Feb 26 15:04:43 2005 +0000
description:
Fix build on archs where va_list is not a pointer. Closes PR pkg/29535 by
Kibum Han (reporting failure under amd64).
diffstat:
devel/libgnome/distinfo | 3 ++-
devel/libgnome/patches/patch-ba | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 5791ecbef74b -r b999624ad5e4 devel/libgnome/distinfo
--- a/devel/libgnome/distinfo Sat Feb 26 13:26:05 2005 +0000
+++ b/devel/libgnome/distinfo Sat Feb 26 15:04:43 2005 +0000
@@ -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 -r 5791ecbef74b -r b999624ad5e4 devel/libgnome/patches/patch-ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libgnome/patches/patch-ba Sat Feb 26 15:04:43 2005 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index