Debian Codegraph @

debian/patches/fix-with-gcc-16.patch

raw symbols SCIP
1 Author: Paul Gevers <[email protected]>
2 Description: With gcc-16 it seems we need to link m explicitly
3 Forwarded: not yet
4
5 Index: libimage-scale-perl/Makefile.PL
6 ===================================================================
7 --- libimage-scale-perl.orig/Makefile.PL
8 +++ libimage-scale-perl/Makefile.PL
9 @@ -18,6 +18,9 @@ my $DEFINES = '-O2';
10 $DEFINES .= ' -Wall' unless $^O =~ /sun|solaris/i;
11 $DEFINES .= ' -Wno-unused-value -Wno-format-security -Winline -ffast-math' unless $^O =~ /Win32|sun|solaris/i;
12
13 +# with gcc-16, it seems we need to link with m; see bug 1143758
14 +push @LIBS, '-lm';
15 +
16 if ( $^O !~ /Win32/i ) {
17 # Check for Sparc ReadyNAS to enable ASM code
18 if ( -e '/etc/raidiator_version' ) {