pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-glib2 Fix build with Perl 5.26.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/beee4042fa24
branches: trunk
changeset: 363402:beee4042fa24
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Thu Jun 08 00:17:24 2017 +0000
description:
Fix build with Perl 5.26.0
diffstat:
devel/p5-glib2/distinfo | 5 ++++-
devel/p5-glib2/patches/patch-Makefile.PL | 15 +++++++++++++++
devel/p5-glib2/patches/patch-apidoc.pl | 15 +++++++++++++++
devel/p5-glib2/patches/patch-lib_Glib_GenPod.pm | 16 ++++++++++++++++
4 files changed, 50 insertions(+), 1 deletions(-)
diffs (72 lines):
diff -r 51dc50ad6c59 -r beee4042fa24 devel/p5-glib2/distinfo
--- a/devel/p5-glib2/distinfo Wed Jun 07 23:53:58 2017 +0000
+++ b/devel/p5-glib2/distinfo Thu Jun 08 00:17:24 2017 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.24 2016/10/07 22:24:42 mef Exp $
+$NetBSD: distinfo,v 1.25 2017/06/08 00:17:24 ryoon Exp $
SHA1 (Glib-1.323.tar.gz) = b5b3fb3f4d70d77b36100077b7db91865826e21d
RMD160 (Glib-1.323.tar.gz) = 034547c4bff8bbff23b92102f9c39f5d92331141
SHA512 (Glib-1.323.tar.gz) = 81853bac4a6d10f4d601bc93ddfa1eeb8ae9f01643714a167d37ee8189cd02b2e4c23fa3ea22082c3dfa5ab0951d79cd7aa7c8fe42a59dd0db15c1e16af0c051
Size (Glib-1.323.tar.gz) = 297287 bytes
+SHA1 (patch-Makefile.PL) = 55400eef8f24b5d636ce49ad63c7d492b4b52594
+SHA1 (patch-apidoc.pl) = 9f43715a0b01e0b87bd20dd1dcde3ee6330b0f87
+SHA1 (patch-lib_Glib_GenPod.pm) = f014c271f5aad140592d810c1d407988f33ab54b
diff -r 51dc50ad6c59 -r beee4042fa24 devel/p5-glib2/patches/patch-Makefile.PL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-glib2/patches/patch-Makefile.PL Thu Jun 08 00:17:24 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.3 2017/06/08 00:17:24 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2015-12-21 16:42:17.000000000 +0000
++++ Makefile.PL
+@@ -19,6 +19,8 @@ BEGIN { require 5.008; }
+
+ use strict;
+ use warnings;
++use FindBin;
++use lib $FindBin::Bin;
+ use ExtUtils::MakeMaker;
+ use File::Spec;
+ use Cwd;
diff -r 51dc50ad6c59 -r beee4042fa24 devel/p5-glib2/patches/patch-apidoc.pl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-glib2/patches/patch-apidoc.pl Thu Jun 08 00:17:24 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-apidoc.pl,v 1.1 2017/06/08 00:17:24 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- apidoc.pl.orig 2012-01-06 06:26:40.000000000 +0000
++++ apidoc.pl
+@@ -1,5 +1,8 @@
+ #!/usr/bin/perl -w
+
++use FindBin;
++use lib $FindBin::Bin;
++
+ $header = shift @ARGV;
+ $footer = shift @ARGV;
+ $data = shift @ARGV;
diff -r 51dc50ad6c59 -r beee4042fa24 devel/p5-glib2/patches/patch-lib_Glib_GenPod.pm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-glib2/patches/patch-lib_Glib_GenPod.pm Thu Jun 08 00:17:24 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_Glib_GenPod.pm,v 1.1 2017/06/08 00:17:24 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- lib/Glib/GenPod.pm.orig 2016-09-28 04:03:20.000000000 +0000
++++ lib/Glib/GenPod.pm
+@@ -18,6 +18,9 @@ use File::Spec;
+ use Data::Dumper;
+ use POSIX qw(strftime);
+
++use FindBin;
++use lib $FindBin::Bin;
++
+ use Glib;
+
+ use base 'Exporter';
Home |
Main Index |
Thread Index |
Old Index