diff options
author | marcus <marcus@FreeBSD.org> | 2005-01-14 06:43:37 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-01-14 06:43:37 +0000 |
commit | 9afa501b350b8fba1e83f822bec659c53a550377 (patch) | |
tree | 5d9034d36abeb2476fb3e81aa177045b72c6f2d1 /x11 | |
parent | d87de5f3a64d17f1d614fc3a40c47d7d07e28483 (diff) | |
download | FreeBSD-ports-9afa501b350b8fba1e83f822bec659c53a550377.zip FreeBSD-ports-9afa501b350b8fba1e83f822bec659c53a550377.tar.gz |
Fix the build on Alpha.
Reported by: pointyhat via kris
Diffstat (limited to 'x11')
-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 96fb16e..93ca85a 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 0000000..ab12ba7 --- /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); + } |