Dear maintainer, I've prepared an NMU for xchat-gnome (versioned as 1:0.30.0~git20131003.d20b8d-2.1). The diff is attached to this message.
Regards.
diff -Nru xchat-gnome-0.30.0~git20131003.d20b8d/debian/changelog xchat-gnome-0.30.0~git20131003.d20b8d/debian/changelog --- xchat-gnome-0.30.0~git20131003.d20b8d/debian/changelog 2013-10-26 23:14:26.000000000 +0300 +++ xchat-gnome-0.30.0~git20131003.d20b8d/debian/changelog 2014-07-30 12:03:32.000000000 +0300 @@ -1,3 +1,12 @@ +xchat-gnome (1:0.30.0~git20131003.d20b8d-2.1) unstable; urgency=medium + + * Non-maintainer upload with maintainer's permission + * add a patch to link perl-testing program with libperl, keeping perl + binding when built with perl 5.20 + Closes: #752468 + + -- Damyan Ivanov <d...@debian.org> Wed, 30 Jul 2014 09:03:29 +0000 + xchat-gnome (1:0.30.0~git20131003.d20b8d-2) unstable; urgency=low * 01_finish_gtk3_port.patch: new patch. Imported from BZ#677043, diff -Nru xchat-gnome-0.30.0~git20131003.d20b8d/debian/patches/perl5.20.patch xchat-gnome-0.30.0~git20131003.d20b8d/debian/patches/perl5.20.patch --- xchat-gnome-0.30.0~git20131003.d20b8d/debian/patches/perl5.20.patch 1970-01-01 02:00:00.000000000 +0200 +++ xchat-gnome-0.30.0~git20131003.d20b8d/debian/patches/perl5.20.patch 2014-07-30 11:19:00.000000000 +0300 @@ -0,0 +1,19 @@ +Description: configure.ac: fix perl header test for perl 5.20 + The PL_memory_wrap and Perl_croak_nocontext symbols are now in libperl so a + test program needs to link with it. + Adding $($PERL -MExtUtils::Embed -e ldopts) to the compiler command line does + just that. +Author: Damyan Ivanov <d...@debian.org> +Bug-Debian: http://bugs.debian.org/752468 + +--- a/configure.ac ++++ b/configure.ac +@@ -164,7 +164,7 @@ fi + + if test "x$have_perl" != "xno"; then + AC_MSG_CHECKING(for Perl header files) +- PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1` ++ PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1` + + if test "x$PERL_HEADER_TEST" = "x0" ; then + PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts` diff -Nru xchat-gnome-0.30.0~git20131003.d20b8d/debian/patches/series xchat-gnome-0.30.0~git20131003.d20b8d/debian/patches/series --- xchat-gnome-0.30.0~git20131003.d20b8d/debian/patches/series 2013-10-26 23:12:11.000000000 +0300 +++ xchat-gnome-0.30.0~git20131003.d20b8d/debian/patches/series 2014-07-30 11:09:19.000000000 +0300 @@ -4,3 +4,4 @@ 04_no_spellcheck.patch 120-fix-clipboard-segfault.patch define_functions_fix_build.patch +perl5.20.patch