pkgsrc-WIP-changes archive

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

gwhois: Add patch to remove unsupported perl pragma



Module Name:	pkgsrc-wip
Committed By:	Michael-John Turner <mj%mjturner.net@localhost>
Pushed By:	mj
Date:		Thu Jul 15 12:09:39 2021 +0100
Changeset:	8b38712a3c6bf00f32923f302684e74e646ebcfb

Modified Files:
	gwhois/distinfo
Added Files:
	gwhois/patches/patch-gwhois

Log Message:
gwhois: Add patch to remove unsupported perl pragma

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8b38712a3c6bf00f32923f302684e74e646ebcfb

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

diffstat:
 gwhois/distinfo             |  1 +
 gwhois/patches/patch-gwhois | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diffs:
diff --git a/gwhois/distinfo b/gwhois/distinfo
index 210b0b8665..2d11c9bc03 100644
--- a/gwhois/distinfo
+++ b/gwhois/distinfo
@@ -4,3 +4,4 @@ SHA1 (gwhois_20120626.tar.gz) = 65a3fa2cd7c075e31a328860b2425b476d2cac95
 RMD160 (gwhois_20120626.tar.gz) = 90adf31c648757e423467065069eec8c8cd40c2b
 SHA512 (gwhois_20120626.tar.gz) = 2e172e7552019f65d8845baa661ab20213bdd02d3c86273590a143949ca3834d027a6f3b18ecef567cce3550922596534939d46b73b2659282d86930283877b2
 Size (gwhois_20120626.tar.gz) = 41760 bytes
+SHA1 (patch-gwhois) = 20203023d68d7d8a35af90dfff8c833af0697e12
diff --git a/gwhois/patches/patch-gwhois b/gwhois/patches/patch-gwhois
new file mode 100644
index 0000000000..dfd667e202
--- /dev/null
+++ b/gwhois/patches/patch-gwhois
@@ -0,0 +1,14 @@
+$NetBSD$
+
+The encoding pragma is no longer supported as of Perl 5.26.0
+
+--- gwhois.orig	2015-04-17 21:30:06.000000000 +0000
++++ gwhois
+@@ -77,7 +77,6 @@
+ #
+ 
+ use LWP::Simple;
+-use encoding ':locale';
+ use Net::LibIDN;
+ 
+ $ENV{'HOME'}='/var/home/whois' unless defined $ENV{'HOME'};


Home | Main Index | Thread Index | Old Index