aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/transset-df
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/transset-df')
-rw-r--r--x11-wm/transset-df/Makefile1
-rw-r--r--x11-wm/transset-df/files/patch-transSet.c27
2 files changed, 28 insertions, 0 deletions
diff --git a/x11-wm/transset-df/Makefile b/x11-wm/transset-df/Makefile
index c2c93059bbb8..a644f5b33d2c 100644
--- a/x11-wm/transset-df/Makefile
+++ b/x11-wm/transset-df/Makefile
@@ -16,6 +16,7 @@ COMMENT= Make your windows transparent
USE_X_PREFIX= yes
ALL_TARGET= transset-df
MAKE_ARGS= CFLAGS="${CFLAGS}"
+USE_GETOPT_LONG=yes
PLIST_FILES= bin/transset-df
diff --git a/x11-wm/transset-df/files/patch-transSet.c b/x11-wm/transset-df/files/patch-transSet.c
new file mode 100644
index 000000000000..d66704d4c60a
--- /dev/null
+++ b/x11-wm/transset-df/files/patch-transSet.c
@@ -0,0 +1,27 @@
+--- transSet.c.orig Mon Jan 9 21:09:08 2006
++++ transSet.c Mon Jan 9 21:10:27 2006
+@@ -121,6 +121,11 @@
+ {"verbose",0,NULL,'v'},
+ {0,0,0,0}
+ };
++ unsigned char *data;
++
++ Atom actual;
++ int format;
++ unsigned long n, left;
+
+ /* wonderful utility */
+ Setup_Display_And_Screen(&argc, argv);
+@@ -228,12 +233,6 @@
+ target_win = Select_Window(dpy);
+ }
+
+- unsigned char *data;
+-
+- Atom actual;
+- int format;
+- unsigned long n, left;
+-
+ if (!gotd) d=0.75;
+
+ /* get property */