Hello community, here is the log from the commit of package irssi for openSUSE:Factory checked in at 2017-02-24 02:54:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/irssi (Old) and /work/SRC/openSUSE:Factory/.irssi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "irssi" Changes: -------- --- /work/SRC/openSUSE:Factory/irssi/irssi.changes 2017-01-24 10:37:21.272729218 +0100 +++ /work/SRC/openSUSE:Factory/.irssi.new/irssi.changes 2017-02-24 02:54:11.830798622 +0100 @@ -1,0 +2,13 @@ +Mon Feb 6 08:14:57 UTC 2017 - astie...@suse.com + +- irssi 1.0.1: + * Fix Perl compilation in object dir + * Fix incorrect HELP SERVER example + * Correct memory leak in /OP and /VOICE + * Fix regression that broke second level completion + * Correct missing NULL termination in perl_parse boo#1023638 + * Sync broken mail.pl script + * Prevent a memory leak during the processing of the SASL + response boo#1023637 + +------------------------------------------------------------------- Old: ---- irssi-1.0.0.tar.xz irssi-1.0.0.tar.xz.asc New: ---- irssi-1.0.1.tar.xz irssi-1.0.1.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irssi.spec ++++++ --- /var/tmp/diff_new_pack.2jXB26/_old 2017-02-24 02:54:12.730659163 +0100 +++ /var/tmp/diff_new_pack.2jXB26/_new 2017-02-24 02:54:12.730659163 +0100 @@ -18,7 +18,7 @@ %bcond_with socks Name: irssi -Version: 1.0.0 +Version: 1.0.1 Release: 0 # Summary: Modular, Secure, and Well Designed IRC Client ++++++ irssi-1.0.0.tar.xz -> irssi-1.0.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/ChangeLog new/irssi-1.0.1/ChangeLog --- old/irssi-1.0.0/ChangeLog 2017-01-05 14:06:35.000000000 +0100 +++ new/irssi-1.0.1/ChangeLog 2017-02-03 20:46:34.000000000 +0100 @@ -1,3 +1,96 @@ +commit 5f6c38c329f3d9574db863d330df876a456c5940 +Author: ailin-nemui <ailin-ne...@users.noreply.github.com> +Date: Fri Feb 3 20:46:20 2017 +0100 + + tag as 1.0.1 + +commit 97b182089eec8cc158313c424b453dcaa39e05af +Author: Nei <ailin.ne...@gmail.com> +Date: Fri Feb 3 11:49:16 2017 +0000 + + Merge branch 'dub-the-wub' into 'master' + + Prevent a memory leak during the processing of the SASL response. + + See merge request !8 + +commit ca5e9bd623862bd9a640bf8799aafa53502b79f6 +Author: ailin-nemui <ailin-ne...@users.noreply.github.com> +Date: Sat Jan 21 03:52:31 2017 +0100 + + Merge pull request #624 from ailin-nemui/mail_pl + + sync mail.pl + +commit 1f42d2aa950e4d70bf4c4aebae3a7040bd710cf3 +Author: LemonBoy <lemon...@users.noreply.github.com> +Date: Sun Jan 15 22:33:42 2017 +0100 + + Merge pull request #619 from hannob/master + + perl_parse needs NULL terminated parameter list. + +commit d63c93ae1dbb1254a92e8e4fafc39fe8d69d00ae +Author: LemonBoy <lemon...@users.noreply.github.com> +Date: Fri Jan 13 22:36:44 2017 +0100 + + Merge pull request #613 from ailin-nemui/fix_completion + + fix regression in completion + +commit 929c9477477a4ccf03626388499192d8003b96d5 +Author: LemonBoy <lemon...@users.noreply.github.com> +Date: Sun Jan 8 21:55:39 2017 +0100 + + Merge pull request #608 from tijko/master + + Follow g_strsplit with call to g_strfreev + +commit 3a3b34fc633fe8e045bf4b696c41857c9f8c5ba5 +Author: ailin-nemui <ailin-ne...@users.noreply.github.com> +Date: Fri Jan 6 17:00:09 2017 +0100 + + Merge pull request #606 from or4n/master + + Fix syntax on /help SERVER example + +commit 8dbf186ad6e808c269fa10c22444c89df63f2d7d +Author: ailin-nemui <ailin-ne...@users.noreply.github.com> +Date: Fri Jan 6 16:37:09 2017 +0100 + + Merge pull request #604 from dequis/solaris + + Add OPENSSL_NO_EC for solaris 11.3, see issue #598 + +commit 7c49ed2d17d2325d7bceef632ac38b66a44e8b63 +Author: ailin-nemui <ailin-ne...@users.noreply.github.com> +Date: Fri Jan 6 12:44:02 2017 +0100 + + Merge pull request #602 from McDutchie/master + + make irssi --with-perl build with separate object directory + +commit f97d5f2648bbff1103e472b952b68ea08694886a +Merge: ea7826b0 69e112fb +Author: ailin-nemui <ailin-ne...@users.noreply.github.com> +Date: Fri Jan 6 17:08:06 2017 +0100 + + Merge pull request #603 from dequis/pining-for-the-freenodes + + NEWS: Avoid explicitly mentioning freenode in the pinning examples + +commit 69e112fbd1b44a6f9f3380167c12bbe0f76693a1 +Author: dequis <d...@dxzone.com.ar> +Date: Fri Jan 6 11:20:49 2017 -0300 + + NEWS: Avoid explicitly mentioning freenode in the pinning examples + + They have proper certs, so using them as an example is wrong. + Particularly worse since they started using letsencrypt recently so + every server has a different cert and pubkey. + + We'll figure out how to link this from the release notes later. + commit ea7826b0ec097b9fdc29336ff7fe7074052773f5 Author: ailin-nemui <ailin-ne...@users.noreply.github.com> Date: Tue Jan 3 16:41:41 2017 +0100 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/NEWS new/irssi-1.0.1/NEWS --- old/irssi-1.0.0/NEWS 2017-01-05 13:58:42.000000000 +0100 +++ new/irssi-1.0.1/NEWS 2017-02-03 20:42:14.000000000 +0100 @@ -1,3 +1,12 @@ +v1.0.1 2017-02-03 The Irssi team <st...@irssi.org> + - Fix Perl compilation in object dir. By Martijn Dekker (#602, #623). + - Disable EC cryptography on Solaris to fix build (#604, #598). + - Fix incorrect HELP SERVER example (#606, #519). + - Correct memory leak in /OP and /VOICE. By Tim Konick (#608). + - Fix regression that broke second level completion (#613, #609). + - Correct missing NULL termination in perl_parse. By Hanno Böck (#619). + - Sync broken mail.pl script (#624, #607). + v1.0.0 2017-01-03 The Irssi team <st...@irssi.org> * Removed --disable-ipv6 (#408). * /connect Network now aborts with an error if no servers have been @@ -39,16 +48,16 @@ values like this: Start by downloading the certificate from a given IRC server: - $ openssl s_client -connect chat.freenode.net:6697 < /dev/null 2>/dev/null | \ - openssl x509 > freenode.cert + $ openssl s_client -connect irc.example.net:6697 < /dev/null 2>/dev/null | \ + openssl x509 > example.cert Find the value for -tls_pinned_cert: - $ openssl x509 -in freenode.cert -fingerprint -sha256 -noout + $ openssl x509 -in example.cert -fingerprint -sha256 -noout Find the value for -tls_pinned_pubkey: - $ openssl x509 -in freenode.cert -pubkey -noout | \ + $ openssl x509 -in example.cert -pubkey -noout | \ openssl pkey -pubin -outform der | \ openssl dgst -sha256 -c | \ tr a-z A-Z diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/configure new/irssi-1.0.1/configure --- old/irssi-1.0.0/configure 2017-01-05 14:06:40.000000000 +0100 +++ new/irssi-1.0.1/configure 2017-02-03 20:46:41.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for irssi 1.0.0. +# Generated by GNU Autoconf 2.69 for irssi 1.0.1. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='irssi' PACKAGE_TARNAME='irssi' -PACKAGE_VERSION='1.0.0' -PACKAGE_STRING='irssi 1.0.0' +PACKAGE_VERSION='1.0.1' +PACKAGE_STRING='irssi 1.0.1' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1367,7 +1367,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures irssi 1.0.0 to adapt to many kinds of systems. +\`configure' configures irssi 1.0.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1437,7 +1437,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of irssi 1.0.0:";; + short | recursive ) echo "Configuration of irssi 1.0.1:";; esac cat <<\_ACEOF @@ -1571,7 +1571,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -irssi configure 1.0.0 +irssi configure 1.0.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2173,7 +2173,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by irssi $as_me 1.0.0, which was +It was created by irssi $as_me 1.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3042,7 +3042,7 @@ # Define the identity of the package. PACKAGE='irssi' - VERSION='1.0.0' + VERSION='1.0.1' # Some tools Automake needs. @@ -14483,7 +14483,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by irssi $as_me 1.0.0, which was +This file was extended by irssi $as_me 1.0.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14549,7 +14549,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -irssi config.status 1.0.0 +irssi config.status 1.0.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/configure.ac new/irssi-1.0.1/configure.ac --- old/irssi-1.0.0/configure.ac 2017-01-05 13:58:42.000000000 +0100 +++ new/irssi-1.0.1/configure.ac 2017-02-03 20:33:20.000000000 +0100 @@ -1,4 +1,4 @@ -AC_INIT(irssi, 1.0.0) +AC_INIT(irssi, 1.0.1) AC_CONFIG_SRCDIR([src]) AC_CONFIG_AUX_DIR(build-aux) AC_PREREQ(2.50) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/docs/help/in/server.in new/irssi-1.0.1/docs/help/in/server.in --- old/irssi-1.0.0/docs/help/in/server.in 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/docs/help/in/server.in 2017-02-03 20:27:41.000000000 +0100 @@ -64,7 +64,7 @@ /SERVER CONNECT chat.freenode.net /SERVER CONNECT +chat.freenode.net /SERVER ADD -network Freenode -noautosendcmd orwell.freenode.net - /SERVER ADD -! -auto -host staff.irssi.org -port 6667 -4 -network Freenode -noproxy orwell.freenode.net + /SERVER ADD -! -auto -host staff.irssi.org -4 -network Freenode -noproxy orwell.freenode.net 6667 /SERVER MODIFY -network Freenode -noauto orwell.freenode.net /SERVER REMOVE orwell.freenode.net 6667 Freenode /SERVER PURGE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/docs/help/server new/irssi-1.0.1/docs/help/server --- old/irssi-1.0.0/docs/help/server 2017-01-05 14:06:35.000000000 +0100 +++ new/irssi-1.0.1/docs/help/server 2017-02-03 20:46:34.000000000 +0100 @@ -68,7 +68,7 @@ /SERVER CONNECT chat.freenode.net /SERVER CONNECT +chat.freenode.net /SERVER ADD -network Freenode -noautosendcmd orwell.freenode.net - /SERVER ADD -! -auto -host staff.irssi.org -port 6667 -4 -network Freenode -noproxy orwell.freenode.net + /SERVER ADD -! -auto -host staff.irssi.org -4 -network Freenode -noproxy orwell.freenode.net 6667 /SERVER MODIFY -network Freenode -noauto orwell.freenode.net /SERVER REMOVE orwell.freenode.net 6667 Freenode /SERVER PURGE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/irssi-config.h new/irssi-1.0.1/irssi-config.h --- old/irssi-1.0.0/irssi-config.h 2017-01-05 14:06:45.000000000 +0100 +++ new/irssi-1.0.1/irssi-config.h 2017-02-03 20:46:47.000000000 +0100 @@ -74,7 +74,7 @@ #define PACKAGE_NAME "irssi" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "irssi 1.0.0" +#define PACKAGE_STRING "irssi 1.0.1" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "irssi" @@ -83,7 +83,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "1.0.0" +#define PACKAGE_VERSION "1.0.1" /* printf()-format for uoff_t, eg. "u" or "lu" or "llu" */ #define PRIuUOFF_T "lu" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/irssi-version.h new/irssi-1.0.1/irssi-version.h --- old/irssi-1.0.0/irssi-version.h 2017-01-05 14:03:56.000000000 +0100 +++ new/irssi-1.0.1/irssi-version.h 2017-02-03 20:46:50.000000000 +0100 @@ -1,2 +1,2 @@ -#define IRSSI_VERSION_DATE 20170103 -#define IRSSI_VERSION_TIME 1641 +#define IRSSI_VERSION_DATE 20170203 +#define IRSSI_VERSION_TIME 2046 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/scripts/mail.pl new/irssi-1.0.1/scripts/mail.pl --- old/irssi-1.0.0/scripts/mail.pl 2016-08-11 14:59:21.000000000 +0200 +++ new/irssi-1.0.1/scripts/mail.pl 2017-02-03 20:29:02.000000000 +0100 @@ -30,6 +30,7 @@ # Check /mailbox help for help. use Irssi::TextUI; +use Irssi; my $maildirmode = 0; # maildir=1, file(spools)=0 my $old_is_not_new = 0; @@ -37,7 +38,7 @@ my ($last_refresh_time, $refresh_tag); # for mbox caching -my $last_size, $last_mtime, $last_mailcount, $last_mode; +my ($last_size, $last_mtime, $last_mailcount, $last_mode); # list of mailboxes my %mailboxes = (); @@ -101,8 +102,9 @@ my $old_is_not_new=Irssi::settings_get_bool('mail_oldnotnew'); if ($extprog ne "") { - $total = `$extprog`; - chomp $unread; + my $total = `$extprog`; + chomp $total; + ($read, $unread) = split ' ', $total, 2; } else { if (!$maildirmode) { if (-f $mailfile) { @@ -115,8 +117,7 @@ $last_size = $size; $last_mtime = $mtime; - my $f = gensym; - return 0 if (!open($f, "<", $mailfile)); + return 0 if (!open(my $f, "<", $mailfile)); # count new mails only my $internal_removed = 0; @@ -205,7 +206,7 @@ my $total = 0; # check all mailboxes for new email - foreach $name (keys(%mailboxes)) { + foreach my $name (keys(%mailboxes)) { my $box = $mailboxes{$name}; # replace "~/" at the beginning by the user's home dir $box =~ s/^~\//$ENV{'HOME'}\//; @@ -233,7 +234,7 @@ # Show this only if there are any new, unread messages. if (Irssi::settings_get_bool('mail_show_message') && $unread > $new_mails_in_box{$name}) { - $new_mails = $unread - $new_mails_in_box{$name}; + my $new_mails = $unread - $new_mails_in_box{$name}; if ($nummailboxes == 1) { Irssi::print("You have $new_mails new message" . ($new_mails != 1 ? "s." : "."), MSGLEVEL_CRAP); } else { @@ -263,11 +264,9 @@ my $boxstring = $_[0]; my @boxes = split(/,/, $boxstring); - foreach $dbox(@boxes) { - my $name = $dbox; - $name = substr($dbox, 0, index($dbox, '=')); - my $box = $dbox; - $box = substr($dbox, index($dbox, '=') + 1, length($dbox)); + foreach my $dbox(@boxes) { + my $name = substr($dbox, 0, index($dbox, '=')); + my $box = substr($dbox, index($dbox, '=') + 1, length($dbox)); addmailbox($name, $box); } } @@ -306,7 +305,7 @@ sub update_settings_string { my $setting; - foreach $name (keys(%mailboxes)) { + foreach my $name (keys(%mailboxes)) { $setting .= $name . "=" . $mailboxes{$name} . ","; } @@ -345,7 +344,7 @@ return; } Irssi::print("Mailboxes:", MSGLEVEL_CRAP); - foreach $box (keys(%mailboxes)) { + foreach my $box (keys(%mailboxes)) { Irssi::print("$box: " . $mailboxes{$box}, MSGLEVEL_CRAP); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/core/network-openssl.c new/irssi-1.0.1/src/core/network-openssl.c --- old/irssi-1.0.0/src/core/network-openssl.c 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/src/core/network-openssl.c 2017-02-03 20:27:18.000000000 +0100 @@ -646,7 +646,11 @@ #ifdef SSL_get_server_tmp_key // Show ephemeral key information. EVP_PKEY *ephemeral_key = NULL; + + // OPENSSL_NO_EC is for solaris 11.3 (2016), github ticket #598 +#ifndef OPENSSL_NO_EC EC_KEY *ec_key = NULL; +#endif char *ephemeral_key_algorithm = NULL; char *cname = NULL; int nid; @@ -658,6 +662,7 @@ tls_rec_set_ephemeral_key_size(tls, EVP_PKEY_bits(ephemeral_key)); break; +#ifndef OPENSSL_NO_EC case EVP_PKEY_EC: ec_key = EVP_PKEY_get1_EC_KEY(ephemeral_key); nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(ec_key)); @@ -670,6 +675,7 @@ g_free_and_null(ephemeral_key_algorithm); break; +#endif default: tls_rec_set_ephemeral_key_algorithm(tls, "Unknown"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/fe-common/core/completion.c new/irssi-1.0.1/src/fe-common/core/completion.c --- old/irssi-1.0.0/src/fe-common/core/completion.c 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/src/fe-common/core/completion.c 2017-02-03 20:28:25.000000000 +0100 @@ -191,7 +191,7 @@ g_strdup_printf("%s%c%s", /* do not accidentally duplicate the word separator */ line == wordstart - 1 ? "" : linestart, - wordstart[-1], word); + old_wordstart[-1], word); g_free(old); g_free(word); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/irc/core/modes.c new/irssi-1.0.1/src/irc/core/modes.c --- old/irssi-1.0.0/src/irc/core/modes.c 2016-09-05 19:02:30.000000000 +0200 +++ new/irssi-1.0.1/src/irc/core/modes.c 2017-02-03 20:28:12.000000000 +0100 @@ -743,6 +743,7 @@ g_hash_table_lookup(optlist, "yes") == NULL) { /* too many matches */ g_string_free(str, TRUE); + g_strfreev(matches); cmd_params_free(free_arg); signal_emit("error command", 1, @@ -756,7 +757,7 @@ if (str->len > 0) g_string_truncate(str, str->len-1); ret = str->str; g_string_free(str, FALSE); - + g_strfreev(matches); cmd_params_free(free_arg); *ret_channel = channel; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/irc/core/sasl.c new/irssi-1.0.1/src/irc/core/sasl.c --- old/irssi-1.0.0/src/irc/core/sasl.c 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/src/irc/core/sasl.c 2017-02-03 20:29:22.000000000 +0100 @@ -174,10 +174,16 @@ *decoded = g_string_new_len("", 0); } else { gsize dec_len; - gchar *tmp; + gint state = 0; + guint save = 0; - tmp = (gchar *) g_base64_decode(enc_req->str, &dec_len); - *decoded = g_string_new_len(tmp, dec_len); + /* Since we're not going to use the enc_req GString anymore we + * can perform the decoding in place. */ + dec_len = g_base64_decode_step(enc_req->str, enc_req->len, + (guchar *)enc_req->str, + &state, &save); + /* A copy of the data is made when the GString is created. */ + *decoded = g_string_new_len(enc_req->str, dec_len); } g_string_free(enc_req, TRUE); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/perl/common/Makefile.PL.in new/irssi-1.0.1/src/perl/common/Makefile.PL.in --- old/irssi-1.0.0/src/perl/common/Makefile.PL.in 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/src/perl/common/Makefile.PL.in 2017-02-03 20:26:30.000000000 +0100 @@ -1,4 +1,4 @@ -use ExtUtils::MakeMaker;our $AM_DEFAULT_VERBOSITY='@AM_DEFAULT_VERBOSITY@';require "../Makefile_silent.pm"; +use ExtUtils::MakeMaker;our $AM_DEFAULT_VERBOSITY='@AM_DEFAULT_VERBOSITY@';require "@top_srcdir@/src/perl/Makefile_silent.pm"; WriteMakefile('NAME' => 'Irssi', 'LIBS' => '', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/perl/irc/Makefile.PL.in new/irssi-1.0.1/src/perl/irc/Makefile.PL.in --- old/irssi-1.0.0/src/perl/irc/Makefile.PL.in 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/src/perl/irc/Makefile.PL.in 2017-02-03 20:26:30.000000000 +0100 @@ -1,4 +1,4 @@ -use ExtUtils::MakeMaker;our $AM_DEFAULT_VERBOSITY='@AM_DEFAULT_VERBOSITY@';require "../Makefile_silent.pm"; +use ExtUtils::MakeMaker;our $AM_DEFAULT_VERBOSITY='@AM_DEFAULT_VERBOSITY@';require "@top_srcdir@/src/perl/Makefile_silent.pm"; WriteMakefile('NAME' => 'Irssi::Irc', 'LIBS' => '', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/perl/perl-core.c new/irssi-1.0.1/src/perl/perl-core.c --- old/irssi-1.0.0/src/perl/perl-core.c 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/src/perl/perl-core.c 2017-02-03 20:28:35.000000000 +0100 @@ -41,7 +41,7 @@ PerlInterpreter *my_perl; static int print_script_errors; -static char *perl_args[] = {"", "-e", "0"}; +static char *perl_args[] = {"", "-e", "0", NULL}; #define IS_PERL_SCRIPT(file) \ (strlen(file) > 3 && g_strcmp0(file+strlen(file)-3, ".pl") == 0) @@ -123,7 +123,7 @@ my_perl = perl_alloc(); perl_construct(my_perl); - perl_parse(my_perl, xs_init, G_N_ELEMENTS(perl_args), perl_args, NULL); + perl_parse(my_perl, xs_init, G_N_ELEMENTS(perl_args)-1, perl_args, NULL); #if PERL_STATIC_LIBS == 1 perl_eval_pv("Irssi::Core::->boot_Irssi_Core(0.9);", TRUE); #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/perl/textui/Makefile.PL.in new/irssi-1.0.1/src/perl/textui/Makefile.PL.in --- old/irssi-1.0.0/src/perl/textui/Makefile.PL.in 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/src/perl/textui/Makefile.PL.in 2017-02-03 20:26:30.000000000 +0100 @@ -1,4 +1,4 @@ -use ExtUtils::MakeMaker;our $AM_DEFAULT_VERBOSITY='@AM_DEFAULT_VERBOSITY@';require "../Makefile_silent.pm"; +use ExtUtils::MakeMaker;our $AM_DEFAULT_VERBOSITY='@AM_DEFAULT_VERBOSITY@';require "@top_srcdir@/src/perl/Makefile_silent.pm"; WriteMakefile('NAME' => 'Irssi::TextUI', 'LIBS' => '', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irssi-1.0.0/src/perl/ui/Makefile.PL.in new/irssi-1.0.1/src/perl/ui/Makefile.PL.in --- old/irssi-1.0.0/src/perl/ui/Makefile.PL.in 2017-01-03 14:36:46.000000000 +0100 +++ new/irssi-1.0.1/src/perl/ui/Makefile.PL.in 2017-02-03 20:26:30.000000000 +0100 @@ -1,4 +1,4 @@ -use ExtUtils::MakeMaker;our $AM_DEFAULT_VERBOSITY='@AM_DEFAULT_VERBOSITY@';require "../Makefile_silent.pm"; +use ExtUtils::MakeMaker;our $AM_DEFAULT_VERBOSITY='@AM_DEFAULT_VERBOSITY@';require "@top_srcdir@/src/perl/Makefile_silent.pm"; WriteMakefile('NAME' => 'Irssi::UI', 'LIBS' => '',