summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-01-30 11:03:46 +0100
committerJeroen Roovers <jer@gentoo.org>2020-01-30 11:30:26 +0100
commitf79a3ff9bf5e7b2297fb5e06eb9fd784e3415f7b (patch)
tree82aceef622f36322e959939e92148d37bd6d570a /x11-misc/wayv/files/wayv-0.3-fno-common.patch
parentdev-python/lxml: arm stable wrt bug #707070 (diff)
downloadgentoo-f79a3ff9bf5e7b2297fb5e06eb9fd784e3415f7b.tar.gz
gentoo-f79a3ff9bf5e7b2297fb5e06eb9fd784e3415f7b.tar.bz2
gentoo-f79a3ff9bf5e7b2297fb5e06eb9fd784e3415f7b.zip
x11-misc/wayv: Fix CFLAGS=-fno-common
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=707196 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/wayv/files/wayv-0.3-fno-common.patch')
-rw-r--r--x11-misc/wayv/files/wayv-0.3-fno-common.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-misc/wayv/files/wayv-0.3-fno-common.patch b/x11-misc/wayv/files/wayv-0.3-fno-common.patch
new file mode 100644
index 000000000000..394cb67c1d6d
--- /dev/null
+++ b/x11-misc/wayv/files/wayv-0.3-fno-common.patch
@@ -0,0 +1,21 @@
+--- a/src/process.c
++++ b/src/process.c
+@@ -53,6 +53,7 @@
+ */
+ void performAction(WSETUP *wayv, WGESTURE *gesture, GDISPLAY *video, GPOINT *gpoints) {
+ int i, n, a, b;
++ pid_t child = 0;
+ char **temp, *single, *comp;
+
+ /* Action names have to be at least one character in length */
+--- a/src/process.h
++++ b/src/process.h
+@@ -27,8 +27,6 @@
+ #include "display.h"
+ #include "gesture.h"
+
+-int child;
+-
+ void performAction(WSETUP *, WGESTURE *, GDISPLAY *, GPOINT *);
+ void destroyZombies(int);
+ char **createCmdLine(char *, GDISPLAY *, GPOINT *);