Hello community, here is the log from the commit of package perl-TermReadLine-Gnu for openSUSE:Factory checked in at 2012-10-23 19:43:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-TermReadLine-Gnu (Old) and /work/SRC/openSUSE:Factory/.perl-TermReadLine-Gnu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-TermReadLine-Gnu", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-TermReadLine-Gnu/perl-TermReadLine-Gnu.changes 2011-09-23 12:38:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-TermReadLine-Gnu.new/perl-TermReadLine-Gnu.changes 2012-10-23 19:43:33.000000000 +0200 @@ -1,0 +2,14 @@ +Wed Oct 17 13:02:02 CEST 2012 - [email protected] + +- update to version 1.20 + + 1.20 2010-05-02 + - t/readline.t skip the test of rl_readline_version for GNU + Readline Library 6.1 which may return a wrong value + - readline-6.1 support + new function + rl_free_keymap (disabled due to readline-6.1 bug) + new variable + rl_filename_rewrite_hook (not supported yet) + +------------------------------------------------------------------- Old: ---- Term-ReadLine-Gnu-1.16-no_release.dif Term-ReadLine-Gnu-1.16.dif Term-ReadLine-Gnu-1.16.tar.bz2 New: ---- Term-ReadLine-Gnu-1.20.dif Term-ReadLine-Gnu-1.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-TermReadLine-Gnu.spec ++++++ --- /var/tmp/diff_new_pack.CFwcfi/_old 2012-10-23 19:43:38.000000000 +0200 +++ /var/tmp/diff_new_pack.CFwcfi/_new 2012-10-23 19:43:38.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package perl-TermReadLine-Gnu (Version 1.16) +# spec file for package perl-TermReadLine-Gnu # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,23 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-TermReadLine-Gnu -BuildRequires: perl readline-devel +BuildRequires: perl BuildRequires: perl-macros -Version: 1.16 -Release: 113 +BuildRequires: readline-devel +Version: 1.20 +Release: 0 Requires: readline -AutoReqProv: on -Group: Development/Libraries/Perl -License: GPL-2.0+ -Url: http://search.cpan.org/~hayashi/Term-ReadLine-Gnu-1.16 +Url: http://search.cpan.org/~hayashi/Term-ReadLine-Gnu-1.20 Summary: Perl extension for the GNU Readline/History Library -Source: Term-ReadLine-Gnu-%{version}.tar.bz2 +License: GPL-2.0+ +Group: Development/Libraries/Perl +Source: Term-ReadLine-Gnu-%{version}.tar.gz Patch: Term-ReadLine-Gnu-%{version}.dif -Patch1: Term-ReadLine-Gnu-1.16-no_release.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} @@ -50,7 +47,6 @@ %prep %setup -n Term-ReadLine-Gnu-%{version} %patch -%patch1 -p1 %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS" ++++++ Term-ReadLine-Gnu-1.16-no_release.dif -> Term-ReadLine-Gnu-1.20.dif ++++++ --- /work/SRC/openSUSE:Factory/perl-TermReadLine-Gnu/Term-ReadLine-Gnu-1.16-no_release.dif 2011-09-23 12:38:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-TermReadLine-Gnu.new/Term-ReadLine-Gnu-1.20.dif 2012-10-23 19:43:33.000000000 +0200 @@ -1,59 +1,320 @@ ---- Term-ReadLine-Gnu-1.16/Gnu.xs -+++ Term-ReadLine-Gnu-1.16/Gnu.xs -@@ -2622,14 +2622,18 @@ - { - switch (id) { - case 0: -+#if 0 /* PerlIO_releaseFILE must be called only before closing FILE *. */ - if (instreamPIO != NULL) - PerlIO_releaseFILE(instreamPIO, rl_instream); -+#endif - rl_instream = PerlIO_findFILE(stream); - RETVAL = instreamPIO = stream; - break; - case 1: -+#if 0 /* PerlIO_releaseFILE must be called only before closing FILE *. */ - if (outstreamPIO != NULL) - PerlIO_releaseFILE(outstreamPIO, rl_outstream); -+#endif - rl_outstream = PerlIO_findFILE(stream); - RETVAL = outstreamPIO = stream; +--- Gnu.xs ++++ Gnu.xs 2008/01/26 21:40:21 +@@ -25,6 +25,7 @@ #ifdef __CYGWIN__ -@@ -2651,6 +2655,8 @@ - XSRETURN_UNDEF; - break; - } -+ PerlIO_debug("TRG:store_iostream id %d fd %d\n", -+ id, PerlIO_fileno(RETVAL)); - } - OUTPUT: - RETVAL -@@ -2679,6 +2685,8 @@ - XSRETURN_UNDEF; - break; - } -+ PerlIO_debug("TRG:fetch_iostream id %d fd %d\n", -+ id, PerlIO_fileno(RETVAL)); - } - OUTPUT: - RETVAL ---- Term-ReadLine-Gnu-1.16/t/readline.t -+++ Term-ReadLine-Gnu-1.16/t/readline.t -@@ -847,7 +847,7 @@ - - ######################################################################## - # test ornaments -- -+if ($verbose) { - $INSTR = "\cM\cM\cM\cM\cM\cM\cM"; - print $OUT "# ornaments test\n"; - print $OUT "# Note: Some function may not work on your terminal.\n"; -@@ -869,7 +869,7 @@ - print $OUT "\n" unless defined $t->readline("visible bell>"); - $t->ornaments(0); - print $OUT "# end of ornaments test\n"; -- -+} - print "ok $n\n"; $n++; + #include <sys/termios.h> + #endif /* __CYGWIN__ */ ++ + #include <readline/readline.h> + #include <readline/history.h> - ######################################################################## +@@ -249,18 +250,14 @@ + extern PTR_T xfree PARAMS((PTR_T)); + + #else /* not OS2_USEDLL */ +-static void +-xfree (string) +- PTR_T string; ++static void xfree (PTR_T string) + { + if (string) + free (string); + } + #endif /* not OS2_USEDLL */ + +-static char * +-dupstr(s) /* duplicate string */ +- CONST char * s; ++static char* dupstr(CONST char* s) + { + /* + * Use xmalloc(), because allocated block will be freed in the GNU +@@ -290,8 +287,7 @@ + * did not, since he could not find any reasonable excuse. + */ + static const char * +-rl_get_function_name (function) +- rl_command_func_t *function; ++rl_get_function_name (rl_command_func_t * function) + { + register int i; + +@@ -558,8 +554,7 @@ + * for rl_voidfunc_t : void fn(void) + */ + static int +-voidfunc_wrapper(type) +- int type; ++voidfunc_wrapper(int type) + { + dSP; + int count; +@@ -588,9 +583,7 @@ + * for rl_vintfunc_t : void fn(int) + */ + static int +-vintfunc_wrapper(type, arg) +- int type; +- int arg; ++vintfunc_wrapper(int type, int arg) + { + dSP; + int count; +@@ -621,9 +614,7 @@ + * for rl_icppfunc_t : int fn(char **) + */ + static int +-icppfunc_wrapper(type, arg) +- int type; +- char **arg; ++icppfunc_wrapper(int type, char** arg) + { + dSP; + int count; +@@ -671,9 +662,7 @@ + * for rl_icpfunc_t : int fn(char *) + */ + static int +-icpfunc_wrapper(type, text) +- int type; +- char *text; ++icpfunc_wrapper(int type, char* text) + { + dSP; + int count; +@@ -709,8 +698,7 @@ + * for rl_cpvfunc_t : (char *)fn(void) + */ + static char * +-cpvfunc_wrapper(type) +- int type; ++cpvfunc_wrapper(int type) + { + dSP; + int count; +@@ -739,10 +727,7 @@ + * for rl_linebuf_func_t : int fn(char *, int) + */ + static int +-icpintfunc_wrapper(type, text, index) +- int type; +- char *text; +- int index; ++icpintfunc_wrapper(int type, char* text, int index) + { + dSP; + int count; +@@ -780,8 +765,7 @@ + event_hook_wrapper() { return voidfunc_wrapper(EVENT_HOOK); } + + static int +-getc_function_wrapper(fp) +- PerlIO *fp; ++getc_function_wrapper(PerlIO* fp) + { + /* + * 'PerlIO *fp' is ignored. Use rl_instream instead in the getc_function. +@@ -799,9 +783,7 @@ + */ + + static char * +-completion_entry_function_wrapper(text, state) +- const char *text; +- int state; ++completion_entry_function_wrapper(const char* text, int state) + { + dSP; + int count; +@@ -842,10 +824,7 @@ + */ + + static char ** +-attempted_completion_function_wrapper(text, start, end) +- char *text; +- int start; +- int end; ++attempted_completion_function_wrapper(char* text, int start, int end) + { + dSP; + int count; +@@ -928,10 +907,7 @@ + */ + + static char * +-filename_quoting_function_wrapper(text, match_type, quote_pointer) +- char *text; +- int match_type; +- char *quote_pointer; ++filename_quoting_function_wrapper(char* text, int match_type, char* quote_pointer) + { + dSP; + int count; +@@ -977,9 +953,7 @@ + */ + + static char * +-filename_dequoting_function_wrapper(text, quote_char) +- char *text; +- int quote_char; ++filename_dequoting_function_wrapper(char* text, int quote_char) + { + dSP; + int count; +@@ -1019,9 +993,7 @@ + */ + + static int +-char_is_quoted_p_wrapper(text, index) +- char *text; +- int index; ++char_is_quoted_p_wrapper(char* text, int index) + { + return icpintfunc_wrapper(CHAR_IS_QUOTEDP, text, index); + } +@@ -1032,8 +1004,7 @@ + */ + + static void +-ignore_some_completions_function_wrapper(matches) +- char **matches; ++ignore_some_completions_function_wrapper(char** matches) + { + dSP; + int count, i, only_one_match; +@@ -1119,8 +1090,7 @@ + */ + + static int +-directory_completion_hook_wrapper(textp) +- char **textp; ++directory_completion_hook_wrapper(char** textp) + { + return icppfunc_wrapper(DIR_COMP, textp); + } +@@ -1130,9 +1100,7 @@ + */ + + static int +-history_inhibit_expansion_function_wrapper(text, index) +- char *text; +- int index; ++history_inhibit_expansion_function_wrapper(char* text, int index) + { + return icpintfunc_wrapper(HIST_INHIBIT_EXP, text, index); + } +@@ -1147,10 +1115,7 @@ + */ + + static void +-completion_display_matches_hook_wrapper(matches, len, max) +- char **matches; +- int len; +- int max; ++completion_display_matches_hook_wrapper(char** matches, int len, int max) + { + dSP; + int i; +@@ -1184,10 +1149,7 @@ + } + #else /* (RL_VERSION_MAJOR < 4) */ + static void +-completion_display_matches_hook_wrapper(matches, len, max) +- char **matches; +- int len; +- int max; ++completion_display_matches_hook_wrapper(char** matches, int len, int max) + { + /* dummy */ + } +@@ -1200,8 +1162,7 @@ + } + + static int +-prep_term_function_wrapper(meta_flag) +- int meta_flag; ++prep_term_function_wrapper(int meta_flag) + { + return vintfunc_wrapper(PREP_TERM, meta_flag); + } +@@ -1213,8 +1174,7 @@ + * call a perl function as rl_directory_completion_hook + */ + static int +-directory_rewrite_hook_wrapper(dirname) +- char **dirname; ++directory_rewrite_hook_wrapper(char** dirname) + { + return icppfunc_wrapper(DIR_REWRITE, dirname); + } +@@ -1587,8 +1547,7 @@ + + # Do not free the string returned. + const char * +-rl_get_function_name(function) +- rl_command_func_t * function ++rl_get_function_name(rl_command_func_t* function) + PROTOTYPE: $ + + void +@@ -1782,9 +1741,7 @@ + int i + PROTOTYPE: $ + +-int +-_rl_message(text) +- const char * text ++int _rl_message(const char* text) + PROTOTYPE: $ + CODE: + RETVAL = rl_message(text); +--- ./Gnu/XS.pm.orig 2004-10-17 17:03:20.000000000 +0000 ++++ ./Gnu/XS.pm 2005-11-28 17:11:23.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + # + # XS.pm : perl function definition for Term::ReadLine::Gnu + # +--- ./eg/fileman.orig 1998-02-28 10:01:34.000000000 +0000 ++++ ./eg/fileman 2005-11-28 17:11:23.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + # + # $Id: fileman,v 1.1 1998-02-28 19:01:24+09 hayashi Exp $ + # +--- ./eg/perlsh.orig 2002-06-14 05:41:13.000000000 +0000 ++++ ./eg/perlsh 2005-11-28 17:11:23.000000000 +0000 +@@ -1,4 +1,4 @@ +-#! /usr/local/bin/perl ++#!/usr/bin/perl + # + # $Id: perlsh,v 1.24 2001-10-27 22:59:15-05 hayashi Exp $ + # +--- ./eg/pftp.orig 1999-03-19 17:46:02.000000000 +0000 ++++ ./eg/pftp 2005-11-28 17:11:23.000000000 +0000 +@@ -1,4 +1,4 @@ +-#! /usr/local/bin/perl ++#!/usr/bin/perl + # + # $Id: pftp,v 1.9 1999-03-20 02:46:02+09 hayashi Exp $ + # +--- ./eg/ptksh+.orig 1999-03-14 16:43:20.000000000 +0000 ++++ ./eg/ptksh+ 2005-11-28 17:11:23.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + # + # $Id: ptksh+,v 1.5 1997/04/01 17:15:34 ach Exp ach $ + # +--- ./ppport.h.orig 1999-03-27 01:18:14.000000000 +0000 ++++ ./ppport.h 2005-11-28 17:11:23.000000000 +0000 +@@ -40,7 +40,7 @@ + special defines should be used, ppport.h can be run through Perl to check + your source code. Simply say: + +- perl -x ppport.h *.c *.h *.xs foo/*.c [etc] ++ perl -x ppport.h *.c *.h *.xs foo/foo.c [etc] + + The result will be a list of patches suggesting changes that should at + least be acceptable, if not necessarily the most efficient solution, or a -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
