diff options
author | tnn <tnn@pkgsrc.org> | 2015-04-19 14:26:06 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-04-19 14:26:06 +0000 |
commit | 4f383a1b335726ac55c25b67eef792c012eaba4b (patch) | |
tree | 04eaeb4ca618bb57b53b5071af9b91a989c2cd61 /lang/gawk | |
parent | 9a8ff3cf88d34d2ae534af9828b798cfd1448826 (diff) | |
download | pkgsrc-4f383a1b335726ac55c25b67eef792c012eaba4b.tar.gz |
Avoid conflict with serialize(2) system call on HP-UX.
Diffstat (limited to 'lang/gawk')
-rw-r--r-- | lang/gawk/distinfo | 3 | ||||
-rw-r--r-- | lang/gawk/patches/patch-debug.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo index 00d79dac99a..949c7c347c5 100644 --- a/lang/gawk/distinfo +++ b/lang/gawk/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.31 2014/07/15 14:58:08 ryoon Exp $ +$NetBSD: distinfo,v 1.32 2015/04/19 14:26:06 tnn Exp $ SHA1 (gawk-4.1.1.tar.xz) = 547feb48d20e923aff58daccee97c94e047fdc18 RMD160 (gawk-4.1.1.tar.xz) = a5a6ab9491bf702310cef7c035531cc7fad0a62d Size (gawk-4.1.1.tar.xz) = 2196904 bytes SHA1 (patch-Makefile.in) = 12eb8f205fa224634b9f5122cfca55803382516f SHA1 (patch-awk.h) = 2292be5ec392e7fea5688fbb18012a735e43803f +SHA1 (patch-debug.c) = 40c423e2ddbb7de1eb35bb4b7b4452f8f2ebec01 SHA1 (patch-extension_Makefile.in) = bc735eebe2e094c97e46b08a782b143d2042a865 SHA1 (patch-extension_filefuncs.c) = 212774354ab55f69ff67728470ab23b43e038093 SHA1 (patch-extension_gawkfts.c) = a6c59c42c3f5564ee078b373c9a8d09aa6732a0b diff --git a/lang/gawk/patches/patch-debug.c b/lang/gawk/patches/patch-debug.c new file mode 100644 index 00000000000..e3e70f67add --- /dev/null +++ b/lang/gawk/patches/patch-debug.c @@ -0,0 +1,16 @@ +$NetBSD: patch-debug.c,v 1.1 2015/04/19 14:26:06 tnn Exp $ + +Avoid conflict with serialize(2) system call on HP-UX. + +--- debug.c.orig 2014-03-05 04:31:02.000000000 +0000 ++++ debug.c +@@ -200,6 +200,9 @@ static const char *const env_variable[] + "DGAWK_HISTORY", + "DGAWK_OPTION", + }; ++#if defined(__hpux) ++#define serialize gawk_serialize ++#endif + static void serialize(int ); + static void unserialize(int ); + static const char *commands_string = NULL; |