SHA256
7
0
forked from pool/perl-GD
Files
perl-GD/GD-cflags.patch
Pedro Monreal Gonzalez d8013da327 Accepting request 1097627 from devel:languages:perl:autoupdate
- Updated GD-cflags.patch
- updated to 2.78
   see /usr/share/doc/packages/perl-GD/ChangeLog
  2.78    * Fix Use of uninitialized value $pkg in concatenation warning
            (RT #148899 and GH #47). Thanks to ppisar for the analysis.
            Adds a new hard Test::NoWarnings test requirement.
  2.77    * add BMP support with libgd 2.1.0, PR #49 by PeterCJ
          * don't link to -lXPM without XPM nor X11, GH #45
          * rename ANIMGIF feature to GIFANIM
          * fix unused variable failure in GH CI, RT #141125 by PhilterPaper

OBS-URL: https://build.opensuse.org/request/show/1097627
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-GD?expand=0&rev=50
2023-07-11 07:37:29 +00:00

14 lines
619 B
Diff

Index: GD-2.71/Makefile.PL
===================================================================
--- GD-2.71.orig/Makefile.PL
+++ GD-2.71/Makefile.PL
@@ -259,7 +259,7 @@ print F $DEFINES,"\n";
close F;
my $CCFLAGS = $Config{ccflags};
-$CCFLAGS .= " -Wall -Wextra -Wformat=1" if $Config{gccversion} and $] > 5.020;
+$CCFLAGS .= " -Wall -Wextra" if $Config{gccversion} and $] > 5.020;
# hardened CFLAGS for testing
#$CCFLAGS .= ' -D_GNU_SOURCE -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches';
my $LDDLFLAGS = $Config{lddlflags};