[arch-commits] Commit in perl-www-curl/repos (3 files)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 12:26:56 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:26:55
  Author: bluewind
Revision: 366796

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-www-curl/repos/community-staging-x86_64/
  perl-www-curl/repos/community-staging-x86_64/PKGBUILD
    (from rev 366795, perl-www-curl/trunk/PKGBUILD)
  perl-www-curl/repos/community-staging-x86_64/curl-7.50.2.patch
    (from rev 366795, perl-www-curl/trunk/curl-7.50.2.patch)

-------------------+
 PKGBUILD          |   42 ++++++++++++++++++++++++++++++++++++++++++
 curl-7.50.2.patch |   25 +++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

Copied: perl-www-curl/repos/community-staging-x86_64/PKGBUILD (from rev 366795, perl-www-curl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-01 12:26:55 UTC (rev 366796)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-www-curl
+pkgver=4.17
+pkgrel=8
+pkgdesc="Perl/CPAN Module WWW::Curl"
+arch=('x86_64')
+url="http://search.cpan.org/dist/WWW-Curl/"
+license=("GPL" "PerlArtistic")
+depends=("curl")
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-${pkgver}.tar.gz"
+        'curl-7.50.2.patch')
+md5sums=('997ac81cd6b03b30b36f7cd930474845'
+         '84916bb88dd596cf9ec1a0924cd97913')
+
+prepare() {
+  cd WWW-Curl-${pkgver}
+
+  # https://rt.cpan.org/Public/Bug/Display.html?id=117793
+  patch -Np1 -i ../curl-7.50.2.patch
+}
+
+build() {
+  cd WWW-Curl-${pkgver}
+
+  PERL_USE_UNSAFE_INC=1 \
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd WWW-Curl-${pkgver}
+
+  make install DESTDIR="$pkgdir"
+
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}

Copied: perl-www-curl/repos/community-staging-x86_64/curl-7.50.2.patch (from rev 366795, perl-www-curl/trunk/curl-7.50.2.patch)
===================================================================
--- community-staging-x86_64/curl-7.50.2.patch	                        (rev 0)
+++ community-staging-x86_64/curl-7.50.2.patch	2018-08-01 12:26:55 UTC (rev 366796)
@@ -0,0 +1,25 @@
+From 292c05a8aa9c18bd27d0aaff0b4ee601d9b87b92 Mon Sep 17 00:00:00 2001
+From: Slaven Rezic <cpansand at cvrsnica-freebsd-101.herceg.de>
+Date: Sun, 16 Apr 2017 22:17:00 +0200
+Subject: [PATCH] compilation fixes for curl 7.50.2 and newer (RT #117793)
+
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index f9170bb..bb852e4 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|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/) {
+           next;
+        }
+        my ($group) = $e =~ m/^([^_]+_)/;
+-- 
+2.1.2
+



More information about the arch-commits mailing list