[MacPorts] #56144: ghostscript @9.23: error: expected ')'

MacPorts noreply at macports.org
Fri Mar 30 04:15:17 UTC 2018


#56144: ghostscript @9.23: error: expected ')'
--------------------------+-------------------
  Reporter:  iEFdev       |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.2
Resolution:               |   Keywords:
      Port:  ghostscript  |
--------------------------+-------------------

Comment (by ryandesign):

 I think this was caused by this commit, which added `gs_restrict` to these
 functions:

 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=3b24fd02b2bbeaef3d2e0374023fa330a9cddeac

 I think is was fixed by this commit, which added a definition for
 `gs_restrict` for C99-mode compilers.

 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b24a4bd9bab156443c4667d4266e3deb43f933f7

 clang used C99 by default in 3.5 and earlier but C11 in 3.6 and later.

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


More information about the macports-tickets mailing list