diff options
author | joerg <joerg> | 2005-12-07 15:08:42 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-12-07 15:08:42 +0000 |
commit | ec2b2aec0c13104f748296f8675059ad494cc023 (patch) | |
tree | 1f016195df51bc772362000fb7cc1999c5c0da67 /wm | |
parent | 11cc4f20cfbb05c114753d9e945d41a4f775c28c (diff) | |
download | pkgsrc-ec2b2aec0c13104f748296f8675059ad494cc023.tar.gz |
Fix errno usage. Use alloca from stdlib.h on FreeBSD and DragonFly.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/fvwm2/distinfo | 4 | ||||
-rw-r--r-- | wm/fvwm2/patches/patch-ad | 13 | ||||
-rw-r--r-- | wm/fvwm2/patches/patch-ae | 12 |
3 files changed, 28 insertions, 1 deletions
diff --git a/wm/fvwm2/distinfo b/wm/fvwm2/distinfo index 1b38a0b2a3b..f1d60b00256 100644 --- a/wm/fvwm2/distinfo +++ b/wm/fvwm2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.25 2005/02/23 18:43:54 wiz Exp $ +$NetBSD: distinfo,v 1.26 2005/12/07 15:08:42 joerg Exp $ SHA1 (fvwm-2.4.19.tar.gz) = 6d881473560d6ded360fc47a7cfb1b3d5d30824f RMD160 (fvwm-2.4.19.tar.gz) = cc6e3ceebccd50ba0404079771faa6babc041ca0 @@ -9,3 +9,5 @@ Size (fvwm_icons.tgz) = 363406 bytes SHA1 (patch-aa) = 1fbb00d0ef3fb3042537a7cdc0da0b1f506235ae SHA1 (patch-ab) = 9005c7e38002a44a62d2289a72f4b9ab5b4f5386 SHA1 (patch-ac) = b9009cad82a5f286e54964fc770c8281cefc35d8 +SHA1 (patch-ad) = 44f72b923b54c6870656c4c9713d11d057ad0f9b +SHA1 (patch-ae) = 09460e67c977d261b21e75be9a790841527d4117 diff --git a/wm/fvwm2/patches/patch-ad b/wm/fvwm2/patches/patch-ad new file mode 100644 index 00000000000..d76f7a8fbfd --- /dev/null +++ b/wm/fvwm2/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2005/12/07 15:08:42 joerg Exp $ + +--- config.h.in.orig 2005-12-06 14:33:03.000000000 +0000 ++++ config.h.in +@@ -427,6 +427,8 @@ + #else + # ifdef _AIX + #pragma alloca ++# elif defined(__DragonFly__) || defined(__FreeBSD__) ++# include <stdlib.h> + # else + # ifndef alloca /* predefined by HP cc +Olibcalls */ + char *alloca (); diff --git a/wm/fvwm2/patches/patch-ae b/wm/fvwm2/patches/patch-ae new file mode 100644 index 00000000000..3d619f7f2be --- /dev/null +++ b/wm/fvwm2/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1 2005/12/07 15:08:42 joerg Exp $ + +--- fvwm/module_interface.c.orig 2005-12-06 14:48:01.000000000 +0000 ++++ fvwm/module_interface.c +@@ -1460,7 +1460,6 @@ void FlushMessageQueue(int module) + char *dptr; + struct queue_buff_struct *d; + int a; +- extern int errno; + + if((pipeOn[module] <= 0)||(pipeQueue[module] == NULL)) + return; |