pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Devel-CheckLib Restore patch lost in previous...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91659789e750
branches:  trunk
changeset: 382445:91659789e750
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Jul 28 18:45:03 2022 +0000

description:
Restore patch lost in previous update, needed to keep p5-Crypt-DH-GMP
building on NetBSD. Bump PKGREVISION.

diffstat:

 devel/p5-Devel-CheckLib/Makefile                            |   3 +-
 devel/p5-Devel-CheckLib/distinfo                            |   4 +-
 devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm |  16 +++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 4a69dee6da5f -r 91659789e750 devel/p5-Devel-CheckLib/Makefile
--- a/devel/p5-Devel-CheckLib/Makefile  Thu Jul 28 16:59:08 2022 +0000
+++ b/devel/p5-Devel-CheckLib/Makefile  Thu Jul 28 18:45:03 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2022/07/16 00:16:52 wen Exp $
+# $NetBSD: Makefile,v 1.30 2022/07/28 18:45:03 schmonz Exp $
 
 DISTNAME=      Devel-CheckLib-1.16
 PKGNAME=       p5-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Devel/}
 
diff -r 4a69dee6da5f -r 91659789e750 devel/p5-Devel-CheckLib/distinfo
--- a/devel/p5-Devel-CheckLib/distinfo  Thu Jul 28 16:59:08 2022 +0000
+++ b/devel/p5-Devel-CheckLib/distinfo  Thu Jul 28 18:45:03 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2022/07/16 00:16:52 wen Exp $
+$NetBSD: distinfo,v 1.19 2022/07/28 18:45:03 schmonz Exp $
 
 BLAKE2s (Devel-CheckLib-1.16.tar.gz) = 10f259b22ffe5617f60db73ee4d99f06f793164840a0d2c72ce6af1b17c62cc3
 SHA512 (Devel-CheckLib-1.16.tar.gz) = 919da046cdd1f48e0ccd8a7734a98f3144c0005c8303b02b43aeedcd2cfc148c78f502f26a80ea2612279e2becf4948b408d8cbd4b7cc514519c5954ae4139cb
 Size (Devel-CheckLib-1.16.tar.gz) = 15863 bytes
-SHA1 (patch-lib_Devel_CheckLib.pm) = a7b41aed665331352c51b4cc3f8c4e9e9fc4f4a6
+SHA1 (patch-lib_Devel_CheckLib.pm) = e13d36c7092aec36c923b7ba4887ff28e66c1111
diff -r 4a69dee6da5f -r 91659789e750 devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Devel-CheckLib/patches/patch-lib_Devel_CheckLib.pm       Thu Jul 28 18:45:03 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_Devel_CheckLib.pm,v 1.3 2022/07/28 18:45:03 schmonz Exp $
+
+Fix regression reported in https://github.com/mattn/p5-Devel-CheckLib/issues/23.
+Keeps p5-Crypt-DH-GMP building on at least NetBSD.
+
+--- lib/Devel/CheckLib.pm.orig 2022-05-04 14:31:10.000000000 +0000
++++ lib/Devel/CheckLib.pm
+@@ -454,7 +454,7 @@ sub _findcc {
+         push @Config_ldflags, $config_val if ( $config_val =~ /\S/ );
+     }
+     my @ccflags = grep { length } _parsewords($Config_ccflags||'', $user_ccflags||'');
+-    my @ldflags = grep { length && $_ !~ m/^-Wl/ } _parsewords(@Config_ldflags, $user_ldflags||'');
++    my @ldflags = grep { length } _parsewords(@Config_ldflags, $user_ldflags||'');
+     my @paths = split(/$Config{path_sep}/, $ENV{PATH});
+     my @cc = _parsewords($Config{cc});
+     if (check_compiler ($cc[0], $debug)) {



Home | Main Index | Thread Index | Old Index