From 041ec832a97787dc6c089ef2521f54f29c8fa118 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 25 Jun 2015 07:44:46 +0000 Subject: Fix build with Perl 5.22. --- x11/kdebindings-ruby/distinfo | 3 ++- x11/kdebindings-ruby/patches/patch-kalyptus_kdocAstUtil.pm | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 x11/kdebindings-ruby/patches/patch-kalyptus_kdocAstUtil.pm (limited to 'x11') diff --git a/x11/kdebindings-ruby/distinfo b/x11/kdebindings-ruby/distinfo index f161f037a96..311b9ad40a1 100644 --- a/x11/kdebindings-ruby/distinfo +++ b/x11/kdebindings-ruby/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.7 2008/08/27 12:09:09 markd Exp $ +$NetBSD: distinfo,v 1.8 2015/06/25 07:44:46 joerg Exp $ SHA1 (kdebindings-3.5.10.tar.bz2) = 42946974889ec44a1eb9c54c8b0832d6f1af6719 RMD160 (kdebindings-3.5.10.tar.bz2) = 0c6b4690455a131c90a1e27a3345aa2a2e9d6b99 Size (kdebindings-3.5.10.tar.bz2) = 5735439 bytes SHA1 (patch-aa) = 33f36f65423da2e56d01c22bc4a1e657d0a3a456 SHA1 (patch-ab) = c15b62faf9a72cf89aa84f38c90d99d105e50095 +SHA1 (patch-kalyptus_kdocAstUtil.pm) = b00c501b890f90a80b47780633d2bb6fc6136430 diff --git a/x11/kdebindings-ruby/patches/patch-kalyptus_kdocAstUtil.pm b/x11/kdebindings-ruby/patches/patch-kalyptus_kdocAstUtil.pm new file mode 100644 index 00000000000..cab821ffb4b --- /dev/null +++ b/x11/kdebindings-ruby/patches/patch-kalyptus_kdocAstUtil.pm @@ -0,0 +1,14 @@ +$NetBSD: patch-kalyptus_kdocAstUtil.pm,v 1.1 2015/06/25 07:44:46 joerg Exp $ + +--- kalyptus/kdocAstUtil.pm.orig 2005-09-10 08:16:39.000000000 +0000 ++++ kalyptus/kdocAstUtil.pm +@@ -674,8 +674,7 @@ sub dumpAst + dumpAst( $kid ); + } + +- print "\t" x $depth, "Documentation nodes:\n" if defined +- @{ $node->{Doc}->{ "Text" }}; ++ print "\t" x $depth, "Documentation nodes:\n" if (@{ $node->{Doc}->{ "Text" }}); + + foreach $kid ( @{ $node->{Doc}->{ "Text" }} ) { + dumpAst( $kid ); -- cgit v1.2.3