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:           Thu Jul 24 13:41:04 UTC 2025

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 curl 8.13.0

self tests fail the same way they did in previous versions


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/www/p5-Net-Curl/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/p5-Net-Curl/distinfo
cvs rdiff -u -r0 -r1.5 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.41 pkgsrc/www/p5-Net-Curl/Makefile:1.42
--- pkgsrc/www/p5-Net-Curl/Makefile:1.41        Fri Jul  4 08:49:25 2025
+++ pkgsrc/www/p5-Net-Curl/Makefile     Thu Jul 24 13:41:04 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2025/07/04 08:49:25 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2025/07/24 13:41:04 wiz Exp $
 
 DISTNAME=      Net-Curl-0.57
 PKGNAME=       p5-${DISTNAME}
@@ -24,9 +24,6 @@ USE_TOOLS+=   pkg-config
 # self tests hang
 # https://github.com/sparky/perl-Net-Curl/issues/78
 
-# https://github.com/sparky/perl-Net-Curl/issues/83
-BROKEN=                "Does not support curl 8.13.0"
-
 .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.10 pkgsrc/www/p5-Net-Curl/distinfo:1.11
--- pkgsrc/www/p5-Net-Curl/distinfo:1.10        Thu Jan 23 07:12:38 2025
+++ pkgsrc/www/p5-Net-Curl/distinfo     Thu Jul 24 13:41:04 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2025/01/23 07:12:38 wiz Exp $
+$NetBSD: distinfo,v 1.11 2025/07/24 13:41:04 wiz Exp $
 
 BLAKE2s (Net-Curl-0.57.tar.gz) = 5abf41dd0887f7119deed622611d7852ba43dd48b666ea295aa878a9258a1b7b
 SHA512 (Net-Curl-0.57.tar.gz) = 510aaaef037d20191dd33999f7a8946ebb68d61dcac3b4858b9a98fe774ff9a2bbc78904d5a48e677761c42c167110877ffc5f21d74aee223b36ee8b02586bf7
 Size (Net-Curl-0.57.tar.gz) = 109678 bytes
+SHA1 (patch-Makefile.PL) = 8a4a0190c5b60ea469eb19811e8c3fd283556390

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.5
--- /dev/null   Thu Jul 24 13:41:04 2025
+++ pkgsrc/www/p5-Net-Curl/patches/patch-Makefile.PL    Thu Jul 24 13:41:04 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.PL,v 1.5 2025/07/24 13:41:04 wiz Exp $
+
+Fix build with curl 8.13.0.
+https://github.com/sparky/perl-Net-Curl/issues/83
+
+--- Makefile.PL.orig   2025-01-20 14:34:15.000000000 +0000
++++ Makefile.PL
+@@ -341,7 +341,7 @@ sub get_constants_headers
+ 
+       my @out;
+       foreach my $e (sort keys %syms) {
+-              if ( $e =~ /(OBSOLETE|^CURL_DEPRECATED\z|^CURL_EXTERN|^CURL_IGNORE_DEPRECATION\z|^CURLOPTDEPRECATED\z|_LAST\z|_LASTENTRY\z|^CURL_FORMAT_OFF_T$|^CURL_ISOCPP$|^CURLOPT$)/ ) {
++              if ( $e =~ 
/(OBSOLETE|^CURL_DEPRECATED\z|^CURL_EXTERN|^CURL_IGNORE_DEPRECATION\z|^CURLOPTDEPRECATED\z|_LAST\z|_LASTENTRY\z|^CURL_FORMAT_OFF_T$|^CURL_ISOCPP$|^CURLOPT$|^CURL_HAS_DECLSPEC_ATTRIBUTE\z)/ ) {
+                       next;
+               }
+               push @out, $e;



Home | Main Index | Thread Index | Old Index