summaryrefslogtreecommitdiff
path: root/x11-wm/fluxconf/files/patch-src-fluxkeys.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/fluxconf/files/patch-src-fluxkeys.c')
-rw-r--r--x11-wm/fluxconf/files/patch-src-fluxkeys.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-wm/fluxconf/files/patch-src-fluxkeys.c b/x11-wm/fluxconf/files/patch-src-fluxkeys.c
new file mode 100644
index 000000000000..3414b867fbfa
--- /dev/null
+++ b/x11-wm/fluxconf/files/patch-src-fluxkeys.c
@@ -0,0 +1,21 @@
+--- src/fluxkeys.c.orig Fri Dec 10 23:47:14 2004
++++ src/fluxkeys.c Mon Mar 21 18:10:27 2005
+@@ -265,7 +265,9 @@
+ GtkBoxChild *child;
+ GtkWidget *wid;
+ int mod, n;
++ int source_fd, dest_fd, rdlen;
+ char *initpath, *buf;
++ char tmp_buff[BUFSIZ + 1], *ptr;
+
+ #ifdef GTK2
+ G_CONST_RETURN gchar *key, *action, *execact;
+@@ -305,8 +307,6 @@
+ /*
+ * FIXME: this is highly redundant
+ */
+- char tmp_buff[BUFSIZ + 1], *ptr;
+- int source_fd, dest_fd, rdlen;
+
+ memset(tmp_buff, 0, BUFSIZ + 1);
+