aboutsummaryrefslogtreecommitdiff
path: root/misc/wminfo
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-02-20 21:01:55 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-02-20 21:01:55 +0000
commit4afb2a4e534a9292f4bde2702462c654e3583e85 (patch)
tree9153155bf26210bc05543195c54b06d9d9baf838 /misc/wminfo
parentc6eded40428f554997993ecad5873805b587c2f8 (diff)
downloadports-4afb2a4e534a9292f4bde2702462c654e3583e85.tar.gz
ports-4afb2a4e534a9292f4bde2702462c654e3583e85.zip
Notes
Diffstat (limited to 'misc/wminfo')
-rw-r--r--misc/wminfo/files/patch-wminfo.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/wminfo/files/patch-wminfo.c b/misc/wminfo/files/patch-wminfo.c
new file mode 100644
index 000000000000..7615cecbe3cf
--- /dev/null
+++ b/misc/wminfo/files/patch-wminfo.c
@@ -0,0 +1,18 @@
+--- wminfo.c.orig Thu Feb 19 21:22:58 2004
++++ wminfo.c Thu Feb 19 21:24:27 2004
+@@ -142,9 +142,11 @@
+
+ strcpy(plugin_exec,"sh ");
+ strcat(plugin_exec,plugin);
+- strcat(plugin_exec," > wmiout.tmp");
+- strcpy(plugin_out,getenv("PWD"));
+- strcat(plugin_out,"/wmiout.tmp");
++ strcat(plugin_exec," > ");
++ strcat(plugin_exec,plugin);
++ strcat(plugin_exec,".tmp");
++ strcpy(plugin_out,plugin);
++ strcat(plugin_out,".tmp");
+
+ createXBMfromXPM(wminfo_mask_bits, wminfo_xpm, wminfo_mask_width, wminfo_mask_height);
+ openXwindow(argc, argv, wminfo_xpm, wminfo_mask_bits, wminfo_mask_width, wminfo_mask_height);
+