pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/xine-ui The CPPFunction typedef (among othe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/047695b9cb82
branches:  trunk
changeset: 632102:047695b9cb82
user:      richard <richard%pkgsrc.org@localhost>
date:      Sat Mar 15 14:39:12 2014 +0000

description:
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:

 multimedia/xine-ui/distinfo         |   4 ++--
 multimedia/xine-ui/patches/patch-bb |  16 +++++++++++++++-
 2 files changed, 17 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 262de4561cf1 -r 047695b9cb82 multimedia/xine-ui/distinfo
--- a/multimedia/xine-ui/distinfo       Sat Mar 15 12:30:26 2014 +0000
+++ b/multimedia/xine-ui/distinfo       Sat Mar 15 14:39:12 2014 +0000
@@ -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-aj) = 8f9415d5ad6b8f0147b054432b5c2af76a49c497
 SHA1 (patch-at) = 2ced7674dee7026eb30c33a26c479e8becabded1
 SHA1 (patch-ba) = e654c0f552bb874d5ce39d40b1e6a61d4839a545
-SHA1 (patch-bb) = 4b2e39db848f9d25d53f3fa0b553046423ec8a53
+SHA1 (patch-bb) = 5857d2f14c77eb0369d1f76923cd31bddbefad61
 SHA1 (patch-zz) = f3b33d65805a9e58daaf812a3b9eb572c86ee7b9
diff -r 262de4561cf1 -r 047695b9cb82 multimedia/xine-ui/patches/patch-bb
--- a/multimedia/xine-ui/patches/patch-bb       Sat Mar 15 12:30:26 2014 +0000
+++ b/multimedia/xine-ui/patches/patch-bb       Sat Mar 15 14:39:12 2014 +0000
@@ -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 @@
  
  #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);
+   



Home | Main Index | Thread Index | Old Index