r77329 - in /trunk/libnet-pcap-perl/debian: changelog patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch patches/series

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Jul 10 19:31:54 UTC 2011


Author: gregoa
Date: Sun Jul 10 19:31:52 2011
New Revision: 77329

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77329
Log:
Add patch by Niko Tyni to work with perl 5.14 (closes: #629302).

Added:
    trunk/libnet-pcap-perl/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch
Modified:
    trunk/libnet-pcap-perl/debian/changelog
    trunk/libnet-pcap-perl/debian/patches/series

Modified: trunk/libnet-pcap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/changelog?rev=77329&op=diff
==============================================================================
--- trunk/libnet-pcap-perl/debian/changelog (original)
+++ trunk/libnet-pcap-perl/debian/changelog Sun Jul 10 19:31:52 2011
@@ -13,6 +13,9 @@
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
+
+  [ gregor herrmann ]
+  * Add patch by Niko Tyni to work with perl 5.14 (closes: #629302).
 
  -- gregor herrmann <gregoa at debian.org>  Thu, 30 Apr 2009 16:25:10 +0200
 

Added: trunk/libnet-pcap-perl/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch?rev=77329&op=file
==============================================================================
--- trunk/libnet-pcap-perl/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch (added)
+++ trunk/libnet-pcap-perl/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch Sun Jul 10 19:31:52 2011
@@ -1,0 +1,37 @@
+Bug-Debian: http://bugs.debian.org/629302
+Forwarded: no, but see RT#68613
+
+From 6e66a1d78d825fa24ee369b5a076bf7c18f8abb8 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Sun, 10 Jul 2011 08:11:20 +0300
+Subject: [PATCH] Append CCFLAGS to $Config{ccflags} instead of overriding it
+
+As discussed in [rt.cpan.org #68613], overriding $Config{ccflags}
+breaks XS extensions on Perl 5.14 / x86. This manifests in
+
+> looking for -lpcap... no
+
+because the test distribution in .testlink/ fails its test suite.
+
+Manually append to $Config{ccflags} as a change in EU::MM seems
+improbable.
+---
+ Makefile.PL |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 26ab13e..37e2ef5 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -22,7 +22,7 @@ elsif ($^O eq 'cygwin') {
+     cygwin_pcap_headers();
+ }
+ else {
+-    $options{CCFLAGS} = '-Wall -Wwrite-strings' if $Config{ccname} eq 'gcc' and $] >= 5.006;
++    $options{CCFLAGS} = $Config{ccflags} . ' -Wall -Wwrite-strings' if $Config{ccname} eq 'gcc' and $] >= 5.006;
+     $options{LIBS}    = '-lpcap';
+ }
+ 
+-- 
+1.7.5.4
+

Modified: trunk/libnet-pcap-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-pcap-perl/debian/patches/series?rev=77329&op=diff
==============================================================================
--- trunk/libnet-pcap-perl/debian/patches/series (original)
+++ trunk/libnet-pcap-perl/debian/patches/series Sun Jul 10 19:31:52 2011
@@ -1,1 +1,2 @@
 safe_signals.patch
+0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch




More information about the Pkg-perl-cvs-commits mailing list