summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-04 10:00:02 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-04 10:00:02 +0000
commit1c0e7eff69556e1d1a593f59adc48ec99388db5b (patch)
tree4e63de2d16898945b7fc466809374ec981007db8 /x11-wm
parentPet portlint. (diff)
Fix build with gcc-3.4
PR: ports/69981 Submitted by: Andrey Slusar <vasallia@ukr.net>
Notes
Notes: svn path=/head/; revision=115392
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/golem/Makefile2
-rw-r--r--x11-wm/golem/files/patch-plugins::pier::parseparams.c10
-rw-r--r--x11-wm/golem/files/patch-plugins::simple_menus::parseparams.c9
3 files changed, 20 insertions, 1 deletions
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;
+ }
+ }