Skip to content

Commit 24076fd

Browse files
committed
ikiwiki: fix warnings with newer Getopt::Long.
1 parent 9f17c4b commit 24076fd

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

www/ikiwiki/distinfo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$NetBSD: distinfo,v 1.141 2021/11/02 09:44:48 schmonz Exp $
1+
$NetBSD: distinfo,v 1.142 2024/02/05 06:13:43 schmonz Exp $
22

33
BLAKE2s (ikiwiki_3.20200202.3.orig.tar.xz) = 2a29fcde488ca19f3977450b73e423808568cb65938a4ad7ffd4ff5abd64a5b5
44
SHA512 (ikiwiki_3.20200202.3.orig.tar.xz) = a1d89ccc0d02cddb3ef53c4c4a4a3349139d558fd4eb418263551a48cb635ed29ef430f8276ef6b42486a9232706908752e15e88590e919db6665e1a8844a4e5
@@ -7,4 +7,5 @@ SHA1 (patch-IkiWiki_Plugin_highlight.pm) = a2b1d84472f9b452d60b781f9a9951f574167
77
SHA1 (patch-IkiWiki_Plugin_polygen.pm) = 232c48aac1c0ab538b380def2b8a4b42373a3582
88
SHA1 (patch-Makefile.PL) = 44324917c22ec3cd2aa216439e2ae5a3dc2f9787
99
SHA1 (patch-ikiwiki-mass-rebuild) = eb03ac0ec83078be593f76968f5a1f9080ea50b9
10+
SHA1 (patch-ikiwiki.in) = c45552b89ad10df949bc21ab6154997cb0153eb9
1011
SHA1 (patch-po_Makefile) = 468b500da41c606c6af6b65c8080d692acb69336
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
$NetBSD: patch-ikiwiki.in,v 1.1 2024/02/05 06:13:44 schmonz Exp $
2+
3+
Apply upstream patch 3b24262 to fix warnings with newer Getopt::Long.
4+
5+
--- ikiwiki.in.orig 2024-02-05 06:11:22.083293105 +0000
6+
+++ ikiwiki.in
7+
@@ -31,8 +31,8 @@ sub getconfig () {
8+
Getopt::Long::Configure('pass_through');
9+
GetOptions(
10+
"setup|s=s" => \&setup,
11+
- "dumpsetup|s=s" => \$config{dumpsetup},
12+
- "changesetup|s=s" => sub {
13+
+ "dumpsetup=s" => \$config{dumpsetup},
14+
+ "changesetup=s" => sub {
15+
$config{changesetup}=$_[1];
16+
$config{genwrappers}=1;
17+
$config{refresh}=1;

0 commit comments

Comments
 (0)