perl-gdgraph: fix configure
authorFrancois Perrad <fperrad@gmail.com>
Sat, 19 Jul 2014 20:54:04 +0000 (22:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Jul 2014 09:52:51 +0000 (11:52 +0200)
see http://autobuild.buildroot.org/results/3e1/3e1698b0523dfa46f5b3ee03a22af820f7342c39/build-end.log

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/perl-gdgraph/perl-gdgraph-01-fix-Makefile-PL.patch [new file with mode: 0644]

diff --git a/package/perl-gdgraph/perl-gdgraph-01-fix-Makefile-PL.patch b/package/perl-gdgraph/perl-gdgraph-01-fix-Makefile-PL.patch
new file mode 100644 (file)
index 0000000..e95a64e
--- /dev/null
@@ -0,0 +1,24 @@
+partial revert to 1.47 in order to work with an old perl 5.10.1
+
+With old ExtUtils::MakeMaker, AUTHOR takes a string/number not a ARRAY reference.
+See http://api.metacpan.org/source/RUZ/GDGraph-1.48/CHANGES
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/Makefile.PL
+===================================================================
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -19,11 +19,7 @@
+         ($] >= 5.005 ?
+             ('ABSTRACT'           => 'Produces charts with GD',
+-             'AUTHOR'       => [
+-                 'Martien Verbruggen <mgjv@tradingpost.com.au>',
+-                 'Benjamin Warfield <bwarfield@cpan.org>',
+-                 'Ruslan Zakirov <Ruslan.Zakirov@gmail.com>',
+-            ]
++             'AUTHOR'     => 'Martien Verbruggen <mgjv@tradingpost.com.au>',
+             ):()
+         ),