This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libwww-curl-perl.

commit d83b9f79243f28d9c1f4bc6f2016bc5a4cb859e1
Author: Salvatore Bonaccorso <car...@debian.org>
Date:   Tue Nov 8 22:20:49 2016 +0100

    Skip preprocessor symbol only CURL_STRICTER
    
    Fixes "FTBFS: error: 'CURL_STRICTER' undeclared".
    
    Thanks: Niko Tyni <nt...@debian.org>
    
    Closes: #843432
---
 ...ip-preprocessor-symbol-only-CURL_STRICTER.patch | 34 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 35 insertions(+)

diff --git a/debian/patches/Skip-preprocessor-symbol-only-CURL_STRICTER.patch 
b/debian/patches/Skip-preprocessor-symbol-only-CURL_STRICTER.patch
new file mode 100644
index 0000000..34221c0
--- /dev/null
+++ b/debian/patches/Skip-preprocessor-symbol-only-CURL_STRICTER.patch
@@ -0,0 +1,34 @@
+From 0be0223422e6e5f4091c6e4e058d213623eed105 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
+Date: Mon, 12 Sep 2016 14:40:44 +0200
+Subject: [PATCH] Skip preprocessor symbol only CURL_STRICTER
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+CURL_STRICTER leaked into curl-constants.c when building against
+curl-7.50.2. This is a preprocessor only macro without a value.
+
+CPAN RT#117793
+
+Signed-off-by: Petr Písař <ppi...@redhat.com>
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index f9170bb..ad2bd3d 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -127,7 +127,7 @@ if (!defined($curl_h)) {
+     close H;
+ 
+     for my $e (sort @syms) {
+-       if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
++       if($e =~ 
/(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
+           next;
+        }
+        my ($group) = $e =~ m/^([^_]+_)/;
+-- 
+2.7.4
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2a71f82
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Skip-preprocessor-symbol-only-CURL_STRICTER.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libwww-curl-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to