From 1c0e7eff69556e1d1a593f59adc48ec99388db5b Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Wed, 4 Aug 2004 10:00:02 +0000 Subject: Fix build with gcc-3.4 PR: ports/69981 Submitted by: Andrey Slusar --- x11-wm/golem/Makefile | 2 +- x11-wm/golem/files/patch-plugins::pier::parseparams.c | 10 ++++++++++ x11-wm/golem/files/patch-plugins::simple_menus::parseparams.c | 9 +++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 x11-wm/golem/files/patch-plugins::pier::parseparams.c create mode 100644 x11-wm/golem/files/patch-plugins::simple_menus::parseparams.c (limited to 'x11-wm') diff --git a/x11-wm/golem/Makefile b/x11-wm/golem/Makefile index 7c9c1a5e7897..227000ade77f 100644 --- a/x11-wm/golem/Makefile +++ b/x11-wm/golem/Makefile @@ -16,7 +16,7 @@ COMMENT= Small window manager with themes and plugins .if defined(WANT_SOUND) LIB_DEPENDS= esd.2:${PORTSDIR}/audio/esound -CONFIGURE_ARGS= --enable-sound +CONFIGURE_ARGS= --enable-sound PLIST_SUB+= NO_SOUND="" .else PLIST_SUB+= NO_SOUND="@comment " diff --git a/x11-wm/golem/files/patch-plugins::pier::parseparams.c b/x11-wm/golem/files/patch-plugins::pier::parseparams.c new file mode 100644 index 000000000000..e054b5aa137b --- /dev/null +++ b/x11-wm/golem/files/patch-plugins::pier::parseparams.c @@ -0,0 +1,10 @@ +--- plugins/pier/parseparams.c.old Wed Aug 4 05:00:10 2004 ++++ plugins/pier/parseparams.c Wed Aug 4 05:00:25 2004 +@@ -161,6 +161,7 @@ + } + PWARN("ignoring unknown pier item type %s", itemparam->value); + found: ++ continue; + } + } + } diff --git a/x11-wm/golem/files/patch-plugins::simple_menus::parseparams.c b/x11-wm/golem/files/patch-plugins::simple_menus::parseparams.c new file mode 100644 index 000000000000..022c0f808300 --- /dev/null +++ b/x11-wm/golem/files/patch-plugins::simple_menus::parseparams.c @@ -0,0 +1,9 @@ +--- plugins/simple_menus/parseparams.c.orig Wed Nov 28 01:44:35 2001 ++++ plugins/simple_menus/parseparams.c Wed Aug 4 04:58:14 2004 +@@ -166,5 +166,6 @@ + } + PWARN("ignoring unknown parameter type %s, under %s", param->name, topparam->name); + found: ++ continue; + } + } -- cgit v1.2.3