diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-01-14 06:43:37 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-01-14 06:43:37 +0000 |
commit | 881a55ef3e2d7bb28a220efc64314b5f233f753f (patch) | |
tree | 8d9300f5679f0834f25e93c3b57b057a2e52bdda /x11/libgnome | |
parent | af41c19e838f93e81afd9906edea0dae3655db63 (diff) |
Notes
Diffstat (limited to 'x11/libgnome')
-rw-r--r-- | x11/libgnome/Makefile | 8 | ||||
-rw-r--r-- | x11/libgnome/files/extra-patch-libgnome_gnome-program.c | 12 |
2 files changed, 19 insertions, 1 deletions
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile index 96fb16ef6401..93ca85a26992 100644 --- a/x11/libgnome/Makefile +++ b/x11/libgnome/Makefile @@ -46,10 +46,16 @@ GCONF_SCHEMAS= desktop_gnome_accessibility_keyboard.schemas \ desktop_gnome_sound.schemas desktop_gnome_thumbnailers.schemas \ desktop_gnome_typing_break.schemas +.include <bsd.port.pre.mk> + +.if ${ARCH} == "alpha" +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libgnome_gnome-program.c +.endif + .if defined(NOPORTDOCS) post-patch: @${REINPLACE_CMD} -e 's|gnome-data po doc|gnome-data po|g' \ ${WRKSRC}/Makefile.in .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11/libgnome/files/extra-patch-libgnome_gnome-program.c b/x11/libgnome/files/extra-patch-libgnome_gnome-program.c new file mode 100644 index 000000000000..ab12ba7f0b40 --- /dev/null +++ b/x11/libgnome/files/extra-patch-libgnome_gnome-program.c @@ -0,0 +1,12 @@ +--- libgnome/gnome-program.c.orig Fri Jan 14 01:38:31 2005 ++++ libgnome/gnome-program.c Fri Jan 14 01:39:01 2005 +@@ -1928,6 +1928,8 @@ + int argc, char **argv, + guint nparams, GParameter *params) + { ++ va_list args; ++ + return gnome_program_init_common (type, app_id, app_version, module_info, +- argc, argv, NULL, 0, nparams, params); ++ argc, argv, NULL, args, nparams, params); + } |