diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-06 13:14:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-06 13:14:06 +0000 |
commit | be16e20546d3f728edb3c298f5e7c9f5810395c4 (patch) | |
tree | cbb9251da492cb8e9936e92e8a86d9d5946603d8 /wm/afterstep | |
parent | 683408ec5de33c43e389061ddaea8555217a86c4 (diff) | |
download | pkgsrc-be16e20546d3f728edb3c298f5e7c9f5810395c4.tar.gz |
fix errno usage.
Diffstat (limited to 'wm/afterstep')
-rw-r--r-- | wm/afterstep/distinfo | 3 | ||||
-rw-r--r-- | wm/afterstep/patches/patch-aa | 28 |
2 files changed, 30 insertions, 1 deletions
diff --git a/wm/afterstep/distinfo b/wm/afterstep/distinfo index 84a4d6b6e28..f81001949a8 100644 --- a/wm/afterstep/distinfo +++ b/wm/afterstep/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.9 2005/07/28 10:25:14 adam Exp $ +$NetBSD: distinfo,v 1.10 2005/12/06 13:14:06 joerg Exp $ SHA1 (AfterStep-2.1.2.tar.bz2) = c367e7c73561ddf03b3725f80d2f39f50d2b45bd RMD160 (AfterStep-2.1.2.tar.bz2) = f891ded642b9190bd261f3e3f92cb595da2d785b Size (AfterStep-2.1.2.tar.bz2) = 5079333 bytes +SHA1 (patch-aa) = c903ca64b609e4270ead1f1e03cb6ea962b294f8 diff --git a/wm/afterstep/patches/patch-aa b/wm/afterstep/patches/patch-aa new file mode 100644 index 00000000000..ed5df4529cd --- /dev/null +++ b/wm/afterstep/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.5 2005/12/06 13:14:06 joerg Exp $ + +--- src/afterstep/module.c.orig 2005-12-06 12:58:56.000000000 +0000 ++++ src/afterstep/module.c +@@ -33,6 +33,7 @@ + + #include <signal.h> + #include <stdarg.h> ++#include <errno.h> + #include <fcntl.h> + #include <unistd.h> + #include <sys/file.h> +@@ -380,7 +381,6 @@ LOCAL_DEBUG_OUT( "deleting buffer %p sen + int + FlushQueue (module_t *module) + { +- extern int errno; + int fd; + register struct queue_buff_struct *curr; + +@@ -471,7 +471,6 @@ FlushAllQueues() + + + +-#include <sys/errno.h> + static inline int + PositiveWrite (unsigned int channel, send_data_type *ptr, int size) + { |