pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/fvwm1 Include errno.h, not sys/errno.h + manual dec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/baf0520d17d4
branches:  trunk
changeset: 504236:baf0520d17d4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 07 15:07:23 2005 +0000

description:
Include errno.h, not sys/errno.h + manual declaration of errno.

diffstat:

 wm/fvwm1/distinfo         |   3 ++-
 wm/fvwm1/patches/patch-ae |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 0adbf848bd6d -r baf0520d17d4 wm/fvwm1/distinfo
--- a/wm/fvwm1/distinfo Wed Dec 07 15:05:36 2005 +0000
+++ b/wm/fvwm1/distinfo Wed Dec 07 15:07:23 2005 +0000
@@ -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-ab) = 755326fa2b7f25bb3990dc96982f8a2bfbf78da3
 SHA1 (patch-ac) = dd88301ae8b7f8abd0bb0c3fcfa40e69b44218ea
 SHA1 (patch-ad) = 258b376854f994a79eea8f42f38dcf6968a4f5fc
+SHA1 (patch-ae) = 2f893b61343890b8d82bf874f3314b05ce1b7dcd
diff -r 0adbf848bd6d -r baf0520d17d4 wm/fvwm1/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/fvwm1/patches/patch-ae Wed Dec 07 15:07:23 2005 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index