diff options
author | cheusov <cheusov@pkgsrc.org> | 2011-11-12 19:14:06 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2011-11-12 19:14:06 +0000 |
commit | 592979d4864997c48ddb56313672ba80d929e1e7 (patch) | |
tree | 8668dadac1b49379ce1d8d30d0b417b700197a9f /sysutils | |
parent | 37a7189903f1dc426c2226a3dcc490ff8d9a2a98 (diff) | |
download | pkgsrc-592979d4864997c48ddb56313672ba80d929e1e7.tar.gz |
Fix a build failure of lang/heirloom-awk with clang
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/heirloom-doc/distinfo | 3 | ||||
-rw-r--r-- | sysutils/heirloom-doc/patches/patch-ax | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/sysutils/heirloom-doc/distinfo b/sysutils/heirloom-doc/distinfo index c60fe4e7166..61fb00fa430 100644 --- a/sysutils/heirloom-doc/distinfo +++ b/sysutils/heirloom-doc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/05/27 22:57:42 cheusov Exp $ +$NetBSD: distinfo,v 1.2 2011/11/12 19:14:06 cheusov Exp $ SHA1 (heirloom-070715.tar.bz2) = cc1aa6977b445ba622159b443283ccb0571be9a5 RMD160 (heirloom-070715.tar.bz2) = 546b68b1e6c603301084d47973ca9ec47ae8ea8c @@ -13,3 +13,4 @@ SHA1 (patch-at) = 64d59486ff878252e953c934d350fc166734b145 SHA1 (patch-au) = 63da5409f7537e0fc3bc9d2473b87439ef38d328 SHA1 (patch-av) = 897e8a4a8115e5d556c4dc4892fc0b17f73cee6e SHA1 (patch-aw) = 39e762f6c4b3def3e317217b6bae4d599b7173d8 +SHA1 (patch-ax) = 74949080460cb2f7c16dd22f24fb650f0ad94817 diff --git a/sysutils/heirloom-doc/patches/patch-ax b/sysutils/heirloom-doc/patches/patch-ax new file mode 100644 index 00000000000..4b1ff200170 --- /dev/null +++ b/sysutils/heirloom-doc/patches/patch-ax @@ -0,0 +1,17 @@ +$NetBSD: patch-ax,v 1.1 2011/11/12 19:14:07 cheusov Exp $ +Fix for clang +--- nawk/main.c.orig 2004-12-19 02:23:10.000000000 +0000 ++++ nawk/main.c +@@ -66,8 +66,11 @@ int mb_cur_max; /* MB_CUR_MAX, for accel + + extern const char badopen[]; + +-int main(int argc, unsigned char *argv[], unsigned char *envp[]) ++int main(int argc, char **argv_, char **envp_) + { ++ unsigned char **argv = (unsigned char **)argv_; ++ unsigned char **envp = (unsigned char **)envp_; ++ + unsigned char *fs = NULL; + char label[MAXLABEL+1]; /* Space for the catalogue label */ + |