[omd-commits] OMD Git: omd: perl-modules: make GD build with gcc5

git version control git at mathias-kettner.de
Thu Oct 1 16:21:04 CEST 2015


Module:   omd
Branch:   master
Commit:   d303d3cf1e1374cad82a4fab47dc0e3a3f68a32d
URL:      http://omdistro.org/projects/omd/repository/revisions/d303d3cf1e1374cad82a4fab47dc0e3a3f68a32d

Author:   Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Thu Oct  1 16:20:06 2015 +0200
Commiter: Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Thu Oct  1 16:20:06 2015 +0200

perl-modules: make GD build with gcc5

---

 packages/perl-modules/src/lib/BuildHelper.pm |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/packages/perl-modules/src/lib/BuildHelper.pm b/packages/perl-modules/src/lib/BuildHelper.pm
index b28dde6..12342df 100644
--- a/packages/perl-modules/src/lib/BuildHelper.pm
+++ b/packages/perl-modules/src/lib/BuildHelper.pm
@@ -424,6 +424,9 @@ sub install_module {
     if($modname eq 'List::MoreUtils') {
         system("sed -i -e '/url\\s*=>.*github/d' -e '/perl.*=>\\s*\\\$^V/d' Makefile.PL");
     }
+    if($modname eq 'GD') {
+        system("sed -i 's|-Wformat=0||g' Makefile.PL");
+    }
 
     eval {
         local $SIG{ALRM} = sub { die "timeout on: $file\n" };



More information about the omd-commits mailing list