pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Add patch to build problem with newer readline.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ea6723446df
branches:  trunk
changeset: 632159:0ea6723446df
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Mar 18 03:35:04 2014 +0000

description:
Add patch to build problem with newer readline.

diffstat:

 net/samba/distinfo                       |   3 ++-
 net/samba/patches/patch-eg               |  15 +++++++++++++++
 net/samba35/distinfo                     |   3 ++-
 net/samba35/patches/patch-lib_readline.c |  15 +++++++++++++++
 4 files changed, 34 insertions(+), 2 deletions(-)

diffs (66 lines):

diff -r 881f90cf5399 -r 0ea6723446df net/samba/distinfo
--- a/net/samba/distinfo        Tue Mar 18 01:28:26 2014 +0000
+++ b/net/samba/distinfo        Tue Mar 18 03:35:04 2014 +0000
@@ -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-bd) = b78324305bbf67fa4a7dd627e0af1618d2bf7b47
 SHA1 (patch-be) = 2b298e596f2f57a595b83619ba68f6ad95febaaa
 SHA1 (patch-bf) = 19932332d11ce447293b061cd47506fef3d01853
+SHA1 (patch-eg) = af5ebab1c8e183020bb9a5914d0a218ad91d1a0b
diff -r 881f90cf5399 -r 0ea6723446df net/samba/patches/patch-eg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba/patches/patch-eg        Tue Mar 18 03:35:04 2014 +0000
@@ -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)
diff -r 881f90cf5399 -r 0ea6723446df net/samba35/distinfo
--- a/net/samba35/distinfo      Tue Mar 18 01:28:26 2014 +0000
+++ b/net/samba35/distinfo      Tue Mar 18 03:35:04 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2014/03/03 08:46:45 obache Exp $
+$NetBSD: distinfo,v 1.18 2014/03/18 03:35:23 taca Exp $
 
 SHA1 (samba-3.5.22.tar.gz) = 6c807dc64c0cd02bd560c4cfc5fe485964777e49
 RMD160 (samba-3.5.22.tar.gz) = ed8d8f9c5c1123334773fa9d47dca1e32ce54b6b
@@ -32,3 +32,4 @@
 SHA1 (patch-bd) = b78324305bbf67fa4a7dd627e0af1618d2bf7b47
 SHA1 (patch-be) = 2b298e596f2f57a595b83619ba68f6ad95febaaa
 SHA1 (patch-bf) = 9511567bfe9b579ae0a1c85483e7fe3ad4866973
+SHA1 (patch-lib_readline.c) = 69620ecb26f0752f8281e972aa89a4d620aaec87
diff -r 881f90cf5399 -r 0ea6723446df net/samba35/patches/patch-lib_readline.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba35/patches/patch-lib_readline.c  Tue Mar 18 03:35:04 2014 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_readline.c,v 1.1 2014/03/18 03:35:23 taca Exp $
+
+Use modern type definition of readline library.
+
+--- lib/readline.c.orig        2013-07-24 18:53:49.000000000 +0000
++++ lib/readline.c
+@@ -148,7 +148,7 @@ char *smb_readline(const char *prompt, v
+ 
+ #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)



Home | Main Index | Thread Index | Old Index