diff options
author | joerg <joerg@pkgsrc.org> | 2014-04-21 18:17:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-04-21 18:17:05 +0000 |
commit | 93079aaf9890ca90f0118d9f7ed6fd88a5464535 (patch) | |
tree | f7e67ca894f6f41a2b53529da8d282aa8b01063e | |
parent | 169e7608e9089f3d14c9720e3ea1e9c23ad4f14a (diff) | |
download | pkgsrc-93079aaf9890ca90f0118d9f7ed6fd88a5464535.tar.gz |
Fix build against newer readline.
-rw-r--r-- | audio/id3ed/distinfo | 3 | ||||
-rw-r--r-- | audio/id3ed/patches/patch-id3ed.cc | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/audio/id3ed/distinfo b/audio/id3ed/distinfo index f237e73b4d5..d2c4608dbd3 100644 --- a/audio/id3ed/distinfo +++ b/audio/id3ed/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.7 2005/02/23 20:39:47 agc Exp $ +$NetBSD: distinfo,v 1.8 2014/04/21 18:17:05 joerg Exp $ SHA1 (id3ed-1.10.4.tar.gz) = b699e645fcea2fa42658886621eb10531d24008a RMD160 (id3ed-1.10.4.tar.gz) = c01388bcde85c271ea1a9f1f07a2769913c40e18 Size (id3ed-1.10.4.tar.gz) = 31610 bytes SHA1 (patch-aa) = b20838a13e1cae3217917d4f5f8023c4329aa979 SHA1 (patch-ab) = cafd397b8e994eea35e7d87d504c84c79c158fc2 +SHA1 (patch-id3ed.cc) = 3ac373ef9a81ce5efd217fd5616a49f238917851 diff --git a/audio/id3ed/patches/patch-id3ed.cc b/audio/id3ed/patches/patch-id3ed.cc new file mode 100644 index 00000000000..0b7a2ce69d8 --- /dev/null +++ b/audio/id3ed/patches/patch-id3ed.cc @@ -0,0 +1,22 @@ +$NetBSD: patch-id3ed.cc,v 1.1 2014/04/21 18:17:05 joerg Exp $ + +--- id3ed.cc.orig 2014-04-20 18:35:33.000000000 +0000 ++++ id3ed.cc +@@ -354,7 +354,7 @@ void genreedit(unsigned char &d){ + #ifdef HAVE_LIBREADLINE + char *str=NULL; + my_rl_default=def; +- rl_startup_hook=(Function*)set_rl_default; ++ rl_startup_hook=set_rl_default; + #ifdef HAVE_SET_H + (const char *(*)(const char *,int))rl_completion_entry_function=genre_generator; + #endif +@@ -404,7 +404,7 @@ void stredit(const char * name, int maxl + char *str; + sprintf(prompt,"%s[max:%i]: ",name,maxlen); + my_rl_default=def; +- rl_startup_hook=(Function*)set_rl_default; ++ rl_startup_hook=set_rl_default; + if((str=readline(prompt))){ + strncpy(buf,str,maxlen); + if (*str){ |