diff options
author | dholland <dholland@pkgsrc.org> | 2012-03-05 04:44:16 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-03-05 04:44:16 +0000 |
commit | d7f6bd98b7d917cdc52e97e04c4cc1c1e61a1d29 (patch) | |
tree | 91acfc4832df362d2f51463f22c8f6b977327359 /net | |
parent | fe5b47c4124af41c1e86739eb7fd15539ce43f38 (diff) | |
download | pkgsrc-d7f6bd98b7d917cdc52e97e04c4cc1c1e61a1d29.tar.gz |
Avoid trying to use <sys/errno.h>; it isn't standard, isn't needed, and
fails on some platforms.
Diffstat (limited to 'net')
-rw-r--r-- | net/sharity-light/distinfo | 4 | ||||
-rw-r--r-- | net/sharity-light/patches/patch-af | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/net/sharity-light/distinfo b/net/sharity-light/distinfo index 06459ba3ec4..beda5bb2068 100644 --- a/net/sharity-light/distinfo +++ b/net/sharity-light/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2012/01/04 15:29:02 dholland Exp $ +$NetBSD: distinfo,v 1.9 2012/03/05 04:44:16 dholland Exp $ SHA1 (Sharity-Light.1.2.tar.gz) = 4a8e93695b1772005e401c2aafbd3f5f70a3b30e RMD160 (Sharity-Light.1.2.tar.gz) = 35fba8ab2ebd98cf32f2b20ac0fc8325a6c69325 @@ -8,4 +8,4 @@ SHA1 (patch-ab) = 1f49eb5831020d9c491c2c872e07d68287e5c72a SHA1 (patch-ac) = 2087a294f04ff2cc4fc4edd1814807e6f01cd949 SHA1 (patch-ad) = 9d884d65a3f12de391a190a43104c97073dcc785 SHA1 (patch-ae) = a9f49fd4322f92f53e217b1fe9c5b3d54eb00515 -SHA1 (patch-af) = b5711d48253fdb261a18610820674baec8fdf9ab +SHA1 (patch-af) = 55684c776c8a3eddaca6840757fb51ef0a78778d diff --git a/net/sharity-light/patches/patch-af b/net/sharity-light/patches/patch-af index 92b23ec041d..cfa33e12437 100644 --- a/net/sharity-light/patches/patch-af +++ b/net/sharity-light/patches/patch-af @@ -1,19 +1,22 @@ -$NetBSD: patch-af,v 1.2 2012/01/04 15:29:02 dholland Exp $ +$NetBSD: patch-af,v 1.3 2012/03/05 04:44:17 dholland Exp $ - needs <time.h> on linux +- avoid <sys/errno.h>, not standard and fails on qnx - dragonfly support --- syshdr.h.orig 1998-11-16 17:03:49.000000000 +0000 +++ syshdr.h -@@ -15,6 +15,7 @@ +@@ -15,8 +15,8 @@ #include <sys/socket.h> #include <unistd.h> #include <sys/time.h> +#include <time.h> #include <fcntl.h> - #include <sys/errno.h> +-#include <sys/errno.h> #include <errno.h> -@@ -47,6 +48,9 @@ + #include <sys/param.h> + #include <sys/stat.h> +@@ -47,6 +47,9 @@ # define BSD4_4_LITE2 # endif #endif |