[SCM] Debian packaging of libnet-pcap-perl branch, master, updated. 8fe060278fd373d68644929ccfa1e92a09cfab72
Xavier Guimard
x.guimard at free.fr
Sat Mar 9 06:53:27 UTC 2013
The following commit has been merged in the master branch:
commit a2613fb5c83266c60d382fc983c7eb4e9f672f10
Author: Xavier Guimard <x.guimard at free.fr>
Date: Sat Mar 9 07:47:23 2013 +0100
Refresh ccflags patch
diff --git a/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch b/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch
index d18e9bc..c13eee8 100644
--- a/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch
+++ b/debian/patches/0001-Append-CCFLAGS-to-Config-ccflags-instead-of-overridi.patch
@@ -1,37 +1,25 @@
+Description: 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.
+Author: Niko Tyni <ntyni at debian.org>
Bug-Debian: http://bugs.debian.org/629302
Forwarded: no, but see RT#68613
+Reviewed-By: Xavier Guimard <x.guimard at free.fr>
+Last-Update: 2013-03-09
-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') {
+@@ -22,7 +22,7 @@
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{CCFLAGS} = "-Wall -Wwrite-strings"
++ $options{CCFLAGS} = $Config{ccflags} . " -Wall -Wwrite-strings"
+ if $Config{ccname} eq "gcc" and $] >= 5.006;
$options{LIBS} = '-lpcap';
}
-
---
-1.7.5.4
-
--
Debian packaging of libnet-pcap-perl
More information about the Pkg-perl-cvs-commits
mailing list