aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-08-13 00:52:28 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-08-13 00:52:28 +0000
commit76d19d1f2a2bcf18280761ca3d28265adf250196 (patch)
treefa960842243a8857494044267ee744e3ad460f15 /x11-wm
parent78825e7169ab28ed9f039bfbb2409e56ae2e9bc0 (diff)
downloadports-76d19d1f2a2bcf18280761ca3d28265adf250196.tar.gz
ports-76d19d1f2a2bcf18280761ca3d28265adf250196.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/fluxconf/Makefile1
-rw-r--r--x11-wm/fluxconf/files/patch-src-fluxkeys.c_addkey15
-rw-r--r--x11-wm/fluxconf/files/patch-src-include-functions.h11
3 files changed, 27 insertions, 0 deletions
diff --git a/x11-wm/fluxconf/Makefile b/x11-wm/fluxconf/Makefile
index c01e1d6d73ff..0b9063756d93 100644
--- a/x11-wm/fluxconf/Makefile
+++ b/x11-wm/fluxconf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fluxconf
PORTVERSION= 0.9.9
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://devaux.fabien.free.fr/flux/
diff --git a/x11-wm/fluxconf/files/patch-src-fluxkeys.c_addkey b/x11-wm/fluxconf/files/patch-src-fluxkeys.c_addkey
new file mode 100644
index 000000000000..c20bcd4eb209
--- /dev/null
+++ b/x11-wm/fluxconf/files/patch-src-fluxkeys.c_addkey
@@ -0,0 +1,15 @@
+--- src/fluxkeys.c.orig Thu Jul 20 11:08:30 2006
++++ src/fluxkeys.c Thu Jul 20 11:08:30 2006
+@@ -430,11 +430,11 @@
+
+
+-/* void addkey(GtkButton * but, GtkWidget ** boites) */
+-void addkey(GtkWidget ** boites)
++void addkey(GtkButton * button, GtkWidget ** boites)
+ {
+ if (nblignes > MAXKEYCOUNT - 2)
+ return;
++ button = NULL;
+ nblignes++;
+ boites[nblignes] = newkey(FALSE, FALSE, FALSE, FALSE, actlist, "", "", "");
+ gtk_box_pack_start(GTK_BOX(mainvbox), boites[nblignes], FALSE, FALSE, 0);
diff --git a/x11-wm/fluxconf/files/patch-src-include-functions.h b/x11-wm/fluxconf/files/patch-src-include-functions.h
new file mode 100644
index 000000000000..4ad03b476f33
--- /dev/null
+++ b/x11-wm/fluxconf/files/patch-src-include-functions.h
@@ -0,0 +1,11 @@
+--- src/include/functions.h.orig Thu Jul 20 11:08:52 2006
++++ src/include/functions.h Thu Jul 20 11:08:52 2006
+@@ -24,7 +24,7 @@
+ char * firstword(char * word, int * offset);
+
+ void savekeys(GtkButton *button, GtkBox ** boxes);
+-void addkey(GtkWidget ** boxes);
++void addkey(GtkButton *button, GtkWidget ** boxes);
+ GtkWidget * newkey(int Ctrl, int Alt, int Shift, int Win,
+ GList * liste, char *value, char *touche, char *execcmd
+ );