Debian Codegraph @

debian/patches/remove-m32

raw symbols SCIP
1 Descriptionscip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/patches/remove-m32#Description.: This patch removes the -m32 options that the build process
2 adds to 64 bit non-arm builds. This option is not present in most of
3 Debian's 32 bit arches and makes the build fail there, and it is not
4 needed on Debian's 64 bit arches.
5 Bugscip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/patches/remove-m32#Bug.: https://github.com/jacquesg/p5-Git-Raw/issues/199
6 Authorscip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/patches/remove-m32#Author.: Marc Haber <[email protected]scip-debian . . . identity/`[email protected]`.>
7 Reviewed-byscip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/patches/remove-m32#Reviewed-by.: gregor herrmann <[email protected]>
8 Last-Updatescip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/patches/remove-m32#Last-Update.: 2022-10-29
9
10 --- a/inc/MakeMaker.pmscip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/upstream/`inc/MakeMaker.pm`:
11 +++ b/inc/MakeMaker.pmscip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/upstream/`inc/MakeMaker.pm`:
12 @@ -229,7 +229,10 @@
13 # building with a 32-bit perl on a 64-bit OS may require this (supported by cc and gcc-like compilers,
14 # excluding some ARM toolchains)
15 if ($Config{ptrsize} == 4 && $Config{archname} !~ /arm/) {
16 - $ccflags .= ' -m32';
17 + # ccflags.='-m32' removed since Debian does not need
18 + # this on 64 bit arches, and the presence of the option
19 + # makes the build fail on 32 bit arches
20 + $ccflags .= '';
21 }
22 } elsif ($is_sunpro) {
23 # probably the SunPro compiler, (try to) enable C99 support
24 --- a/Makefile.PLscip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/upstream/`Makefile.PL`:
25 +++ b/Makefile.PLscip-debian debian libgit-raw-perl 0.90+ds-3 libgit-raw-perl/upstream/`Makefile.PL`:
26 @@ -216,7 +216,10 @@
27 # building with a 32-bit perl on a 64-bit OS may require this (supported by cc and gcc-like compilers,
28 # excluding some ARM toolchains)
29 if ($Config{ptrsize} == 4 && $Config{archname} !~ /arm/) {
30 - $ccflags .= ' -m32';
31 + # ccflags.='-m32' removed since Debian does not need
32 + # this on 64 bit arches, and the presence of the option
33 + # makes the build fail on 32 bit arches
34 + $ccflags .= '';
35 }
36 } elsif ($is_sunpro) {
37 # probably the SunPro compiler, (try to) enable C99 support