[MacPorts] #63105: ghostscript @9.54.0 does n ot build on PPC Leopard with GCC 4.2 because "#pragma GCC diagnostic not allowed inside functions"

MacPorts noreply at macports.org
Thu Jun 17 14:02:43 UTC 2021


#63105: ghostscript @9.54.0 does n ot build on PPC Leopard with GCC 4.2 because
"#pragma GCC diagnostic not allowed inside functions"
--------------------------+---------------------
  Reporter:  ballapete    |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:  leopard
      Port:  ghostscript  |
--------------------------+---------------------

Comment (by ballapete):

 `Portfile` has been changed like this:

 {{{
 ---
 /opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/print/ghostscript/Portfile.orig
 2021-06-04 18:50:25.000000000 +0200
 +++
 /opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/print/ghostscript/Portfile
 2021-06-17 14:39:54.000000000 +0200
 @@ -39,6 +39,9 @@
  # https://bugs.ghostscript.com/show_bug.cgi?id=703880
  patchfiles-append   patch-configure.ac.diff

 +# Remove #pragma statements which GCC 4.2 cannot accept:
 +patchfiles-append   patch-pragmas.diff
 +
  checksums           ghostpdl-9.54.0.tar.gz \
                      rmd160  a48ecd441c761a9401a5e4a34ea90afd6936d419 \
                      sha256
 63e54cddcdf48ea296b6315353f86b8a622d4e46959b10d536297e006b85687b \
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63105#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list