diff options
author | richard <richard@pkgsrc.org> | 2014-03-15 14:39:12 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2014-03-15 14:39:12 +0000 |
commit | b6543266b60cab6176119d473473e68f32ca63bb (patch) | |
tree | 12ea7cfe3023e6de448aeb2432039024685cb715 /multimedia | |
parent | ee1917706537f6aec9f08bbe2eaf3cc4e5d3ccff (diff) | |
download | pkgsrc-b6543266b60cab6176119d473473e68f32ca63bb.tar.gz |
The CPPFunction typedef (among others) have been deprecated in favour of
specific prototyped typedefs since readline 4.2.
They've been working since because compatibility typedefs have been
until they were removed in readline 6.3.
Hint found here: https://bugs.gentoo.org/show_bug.cgi?id=504208
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xine-ui/distinfo | 4 | ||||
-rw-r--r-- | multimedia/xine-ui/patches/patch-bb | 16 |
2 files changed, 17 insertions, 3 deletions
diff --git a/multimedia/xine-ui/distinfo b/multimedia/xine-ui/distinfo index 94127970f41..d4002a3bdaa 100644 --- a/multimedia/xine-ui/distinfo +++ b/multimedia/xine-ui/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.23 2012/09/01 08:14:22 marino Exp $ +$NetBSD: distinfo,v 1.24 2014/03/15 14:39:12 richard Exp $ SHA1 (xine-ui-0.99.7.tar.xz) = ca82e09cf8245d038813bc4dbd8384ba79cbf197 RMD160 (xine-ui-0.99.7.tar.xz) = e2f2311f62a5c5c7b9912b4c8acc059c42406a7c @@ -8,5 +8,5 @@ SHA1 (patch-ab) = 53b7754767882581084c64c8f858ea78db27d209 SHA1 (patch-aj) = 8f9415d5ad6b8f0147b054432b5c2af76a49c497 SHA1 (patch-at) = 2ced7674dee7026eb30c33a26c479e8becabded1 SHA1 (patch-ba) = e654c0f552bb874d5ce39d40b1e6a61d4839a545 -SHA1 (patch-bb) = 4b2e39db848f9d25d53f3fa0b553046423ec8a53 +SHA1 (patch-bb) = 5857d2f14c77eb0369d1f76923cd31bddbefad61 SHA1 (patch-zz) = f3b33d65805a9e58daaf812a3b9eb572c86ee7b9 diff --git a/multimedia/xine-ui/patches/patch-bb b/multimedia/xine-ui/patches/patch-bb index 86ee19de884..11425983269 100644 --- a/multimedia/xine-ui/patches/patch-bb +++ b/multimedia/xine-ui/patches/patch-bb @@ -1,4 +1,9 @@ -$NetBSD: patch-bb,v 1.4 2012/09/01 08:14:22 marino Exp $ +$NetBSD: patch-bb,v 1.5 2014/03/15 14:39:12 richard Exp $ +The CPPFunction typedef (among others) have been deprecated in favour of +specific prototyped typedefs since readline 4.2. +They've been working since because compatibility typedefs have been +until they were removed in readline 6.3. +Hint found here: https://bugs.gentoo.org/show_bug.cgi?id=504208 --- src/xitk/network.c.orig 2011-11-08 20:49:07.000000000 +0000 +++ src/xitk/network.c @@ -22,3 +27,12 @@ $NetBSD: patch-bb,v 1.4 2012/09/01 08:14:22 marino Exp $ #include "common.h" +@@ -1255,7 +1255,7 @@ int main(int argc, char **argv) { + rl_readline_name = PROGNAME; + rl_set_prompt(session.prompt); + rl_initialize(); +- rl_attempted_completion_function = (CPPFunction *)completion_function; ++ rl_attempted_completion_function = (rl_completion_func_t *)completion_function; + + signal(SIGPIPE, SIG_IGN); + |