summaryrefslogtreecommitdiff
path: root/wm/windowlab/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-06 16:16:35 +0000
committerjoerg <joerg>2005-12-06 16:16:35 +0000
commit0ce3f0ffcee283b5e9d33a711090f64ba2625019 (patch)
tree2b14e6bac953dd40837edd7960a1634d87e3b207 /wm/windowlab/patches
parent90ced56411ec071bc12de7cb6706b4227f30993c (diff)
downloadpkgsrc-0ce3f0ffcee283b5e9d33a711090f64ba2625019.tar.gz
Fix errno.
Diffstat (limited to 'wm/windowlab/patches')
-rw-r--r--wm/windowlab/patches/patch-ab12
1 files changed, 12 insertions, 0 deletions
diff --git a/wm/windowlab/patches/patch-ab b/wm/windowlab/patches/patch-ab
new file mode 100644
index 00000000000..c1fdfdca8e1
--- /dev/null
+++ b/wm/windowlab/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.3 2005/12/06 16:16:35 joerg Exp $
+
+--- menufile.c.orig 2005-12-06 16:11:17.000000000 +0000
++++ menufile.c
+@@ -33,7 +33,6 @@ void get_menuitems(void)
+ unsigned int i, button_startx = 0;
+ FILE *menufile = NULL;
+ char menurcpath[PATH_MAX], *c;
+- extern int errno;
+
+ menuitems = malloc(MAX_MENUITEMS_SIZE);
+ memset(menuitems, '\0', MAX_MENUITEMS_SIZE);