diff options
author | taca <taca@pkgsrc.org> | 2014-03-18 03:35:04 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2014-03-18 03:35:04 +0000 |
commit | b501aee6ba8babaa65694077e0b1136555b7617b (patch) | |
tree | a29e1ef761158b7f0b466998a613747f7a07fae7 /net/samba | |
parent | 23125a4ecaca1b6b5a8f61d79da825c9b0b5b340 (diff) | |
download | pkgsrc-b501aee6ba8babaa65694077e0b1136555b7617b.tar.gz |
Add patch to build problem with newer readline.
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/distinfo | 3 | ||||
-rw-r--r-- | net/samba/patches/patch-eg | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/samba/distinfo b/net/samba/distinfo index 9c68d32f7d8..5c39c230d72 100644 --- a/net/samba/distinfo +++ b/net/samba/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.98 2014/03/17 14:01:57 taca Exp $ +$NetBSD: distinfo,v 1.99 2014/03/18 03:35:04 taca Exp $ SHA1 (samba-3.6.23.tar.gz) = 5ba2f8323ab17fa6c04bf87c11d20f10a4fcfe17 RMD160 (samba-3.6.23.tar.gz) = 43dc3b5dcc2ee515bed03ad77b9726841faea946 @@ -30,3 +30,4 @@ SHA1 (patch-bc) = 857e2400c8852f3c878f8d82857e80f214be2aea SHA1 (patch-bd) = b78324305bbf67fa4a7dd627e0af1618d2bf7b47 SHA1 (patch-be) = 2b298e596f2f57a595b83619ba68f6ad95febaaa SHA1 (patch-bf) = 19932332d11ce447293b061cd47506fef3d01853 +SHA1 (patch-eg) = af5ebab1c8e183020bb9a5914d0a218ad91d1a0b diff --git a/net/samba/patches/patch-eg b/net/samba/patches/patch-eg new file mode 100644 index 00000000000..b7a6a483b0e --- /dev/null +++ b/net/samba/patches/patch-eg @@ -0,0 +1,15 @@ +$NetBSD: patch-eg,v 1.1 2014/03/18 03:35:04 taca Exp $ + +Use modern type definition of readline library. + +--- ../libcli/smbreadline/smbreadline.c.orig 2014-03-11 19:17:34.000000000 +0900 ++++ ../libcli/smbreadline/smbreadline.c 2014-03-18 10:56:31.000000000 +0900 +@@ -141,7 +141,7 @@ + + #if HAVE_DECL_RL_EVENT_HOOK + if (callback) +- rl_event_hook = (Function *)callback; ++ rl_event_hook = (rl_hook_func_t *)callback; + #endif + ret = readline(prompt); + if (ret && *ret) |