pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/p5-Net-Curl



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Nov 19 07:08:47 UTC 2024

Modified Files:
        pkgsrc/www/p5-Net-Curl: Makefile distinfo
Added Files:
        pkgsrc/www/p5-Net-Curl/patches: patch-Makefile.PL

Log Message:
p5-Net-Curl: fix build with latest curl

(self tests hang for me but at least it builds now.)


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/www/p5-Net-Curl/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/p5-Net-Curl/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/www/p5-Net-Curl/patches/patch-Makefile.PL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/p5-Net-Curl/Makefile
diff -u pkgsrc/www/p5-Net-Curl/Makefile:1.35 pkgsrc/www/p5-Net-Curl/Makefile:1.36
--- pkgsrc/www/p5-Net-Curl/Makefile:1.35        Sat Nov 16 12:07:54 2024
+++ pkgsrc/www/p5-Net-Curl/Makefile     Tue Nov 19 07:08:47 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2024/11/16 12:07:54 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2024/11/19 07:08:47 wiz Exp $
 
 DISTNAME=      Net-Curl-0.56
 PKGNAME=       p5-${DISTNAME}
@@ -11,8 +11,6 @@ HOMEPAGE=     https://metacpan.org/pod/Net::
 COMMENT=       Perl binding interface for curl
 LICENSE=       mit
 
-# https://github.com/sparky/perl-Net-Curl/issues/78
-BROKEN=                "Does not support curl-8.11.0."
 
 TOOL_DEPENDS+= p5-ExtUtils-PkgConfig-[0-9]*:../../devel/p5-ExtUtils-PkgConfig
 TEST_DEPENDS+= p5-Test-CPAN-Meta-[0-9]*:../../devel/p5-Test-CPAN-Meta
@@ -24,6 +22,9 @@ PERL5_MODULE_TYPE=    Module::Install::Bund
 
 USE_TOOLS+=    pkg-config
 
+# self tests hang
+# https://github.com/sparky/perl-Net-Curl/issues/78
+
 .include "../../www/curl/buildlink3.mk"
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/p5-Net-Curl/distinfo
diff -u pkgsrc/www/p5-Net-Curl/distinfo:1.8 pkgsrc/www/p5-Net-Curl/distinfo:1.9
--- pkgsrc/www/p5-Net-Curl/distinfo:1.8 Sat Nov  9 11:03:53 2024
+++ pkgsrc/www/p5-Net-Curl/distinfo     Tue Nov 19 07:08:47 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2024/11/09 11:03:53 wiz Exp $
+$NetBSD: distinfo,v 1.9 2024/11/19 07:08:47 wiz Exp $
 
 BLAKE2s (Net-Curl-0.56.tar.gz) = 573654667534a74fcedb26183b5e2eb71a6e15eb377bf422aeeefd18c3e5ccad
 SHA512 (Net-Curl-0.56.tar.gz) = a9facbed8c381d52c307b556b74660ee3b828f092cfbf58b6b819f6b2819cabab5622856cdbc0d47dc7cb609fa85df9007dd9d380d495d374d5e0edc46add709
 Size (Net-Curl-0.56.tar.gz) = 109801 bytes
+SHA1 (patch-Makefile.PL) = 9b9042d6c952276e1b342fc312cd1adf9714d276

Added files:

Index: pkgsrc/www/p5-Net-Curl/patches/patch-Makefile.PL
diff -u /dev/null pkgsrc/www/p5-Net-Curl/patches/patch-Makefile.PL:1.3
--- /dev/null   Tue Nov 19 07:08:47 2024
+++ pkgsrc/www/p5-Net-Curl/patches/patch-Makefile.PL    Tue Nov 19 07:08:47 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.PL,v 1.3 2024/11/19 07:08:47 wiz Exp $
+
+Fix build with newer curls.
+https://github.com/sparky/perl-Net-Curl/issues/78
+
+--- Makefile.PL.orig   2024-11-19 06:39:18.392593627 +0000
++++ Makefile.PL
+@@ -328,7 +328,7 @@ sub get_constants_headers
+               while(<H>) {
+                       # Skip defines without values like:
+                       #       #define CURL_STRICTER
+-                      if (m{^#\s*define\s+(CURL\w*)\s*$}) {
++                      if (m{^#\s*define\s+(CURL\w*)\s*(/\*.*\*/)?$}) {
+                               chomp;
+                               warn "Skipping '$_': does not define a symbol";
+                               next;



Home | Main Index | Thread Index | Old Index