all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 3fa0f56d12d5cd0e8866d4bbd1947bd04b744c5d 1170 bytes (raw)
name: gnu/packages/patches/perl-www-curl-remove-symbol.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
Fix build failure caused by extraneous preprocessor symbol.

Patch copied from upstream bug report:
https://rt.cpan.org/Public/Bug/Display.html?id=117793

From 0be0223422e6e5f4091c6e4e058d213623eed105 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@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ř <ppisar@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


debug log:

solving 3fa0f56 ...
found 3fa0f56 in https://yhetil.org/guix/18c9df2577a6524d80422f74e417b4a11894cdc8.1477348992.git.leo@famulari.name/

applying [1/1] https://yhetil.org/guix/18c9df2577a6524d80422f74e417b4a11894cdc8.1477348992.git.leo@famulari.name/
diff --git a/gnu/packages/patches/perl-www-curl-remove-symbol.patch b/gnu/packages/patches/perl-www-curl-remove-symbol.patch
new file mode 100644
index 0000000..3fa0f56

1:36: trailing whitespace.
 
1:43: trailing whitespace.
-- 
Checking patch gnu/packages/patches/perl-www-curl-remove-symbol.patch...
1:45: new blank line at EOF.
+
Applied patch gnu/packages/patches/perl-www-curl-remove-symbol.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 3fa0f56d12d5cd0e8866d4bbd1947bd04b744c5d	gnu/packages/patches/perl-www-curl-remove-symbol.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.