summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-07 15:07:23 +0000
committerjoerg <joerg>2005-12-07 15:07:23 +0000
commit11cc4f20cfbb05c114753d9e945d41a4f775c28c (patch)
tree0e06068547aff131dbb1d654849832330be2188f /wm
parent51aad70ca6b8b2259e41b1f48c8258d53978c797 (diff)
downloadpkgsrc-11cc4f20cfbb05c114753d9e945d41a4f775c28c.tar.gz
Include errno.h, not sys/errno.h + manual declaration of errno.
Diffstat (limited to 'wm')
-rw-r--r--wm/fvwm1/distinfo3
-rw-r--r--wm/fvwm1/patches/patch-ae30
2 files changed, 32 insertions, 1 deletions
diff --git a/wm/fvwm1/distinfo b/wm/fvwm1/distinfo
index 42c0ab04fe9..e3d4dc89529 100644
--- a/wm/fvwm1/distinfo
+++ b/wm/fvwm1/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:43:54 wiz Exp $
+$NetBSD: distinfo,v 1.5 2005/12/07 15:07:23 joerg Exp $
SHA1 (fvwm-1.24r.tar.gz) = 89de9d7f0d9f63e9adffec7ac1f8be89ecbac9f4
RMD160 (fvwm-1.24r.tar.gz) = b38dc3440f44cc9368c087adda7c129815921b13
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 839762e930c6f97356daf842e30a51189e76dc0c
SHA1 (patch-ab) = 755326fa2b7f25bb3990dc96982f8a2bfbf78da3
SHA1 (patch-ac) = dd88301ae8b7f8abd0bb0c3fcfa40e69b44218ea
SHA1 (patch-ad) = 258b376854f994a79eea8f42f38dcf6968a4f5fc
+SHA1 (patch-ae) = 2f893b61343890b8d82bf874f3314b05ce1b7dcd
diff --git a/wm/fvwm1/patches/patch-ae b/wm/fvwm1/patches/patch-ae
new file mode 100644
index 00000000000..bdc4e80c625
--- /dev/null
+++ b/wm/fvwm1/patches/patch-ae
@@ -0,0 +1,30 @@
+$NetBSD: patch-ae,v 1.1 2005/12/07 15:07:23 joerg Exp $
+
+--- fvwm/module.c.orig 2005-12-06 14:27:05.000000000 +0000
++++ fvwm/module.c
+@@ -16,6 +16,7 @@
+
+ #include <stdio.h>
+ #include <unistd.h>
++#include <errno.h>
+ #include <signal.h>
+ #include <string.h>
+ #include <fcntl.h>
+@@ -596,9 +597,6 @@ void SendName(int module, unsigned long
+ free(body);
+ }
+
+-
+-
+-#include <sys/errno.h>
+ FVWM_INLINE int PositiveWrite(int module, unsigned long *ptr, int size)
+ {
+ if((pipeOn[module]<0)||(!((PipeMask[module]) & ptr[1])))
+@@ -651,7 +649,6 @@ void FlushQueue(int module)
+ char *dptr;
+ struct queue_buff_struct *d;
+ int a;
+- extern int errno;
+
+ if((pipeOn[module] <= 0)||(pipeQueue[module] == NULL))
+ return;