[MacPorts] #67357: libjxl @0.8.1: error: expected ')' before 'PRIu64'

MacPorts noreply at macports.org
Tue Mar 12 14:56:29 UTC 2024


#67357: libjxl @0.8.1: error: expected ')' before 'PRIu64'
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  jmroot
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:  tiger ppc
      Port:  libjxl     |
------------------------+-----------------------

Comment (by ballapete):

 Replying to [comment:10 ballapete]:
 > A possible patch could be:
 >
 > {{{
 > --- CMakeLists.txt~   2024-03-12 13:44:09.000000000 +0100
 > +++ CMakeLists.txt    2024-03-12 14:10:11.000000000 +0100
 > @@ -293,6 +293,8 @@
 >      -D__DATE__="redacted"
 >      -D__TIMESTAMP__="redacted"
 >      -D__TIME__="redacted"
 > +    -DPRId64=qd
 > +    -DPRIu64=qu
 >    )
 >
 >    # TODO(eustas): JXL currently compiles, but does not pass tests...
 > }}}
 …
 >
 > So it was thought too easy…

 Doing it the proper way `PRIu64` expands to

 {{{
       printf("Flushing after %" "q" "u" " bytes\n",
 static_cast<uint64_t>(seen));
 }}}

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


More information about the macports-tickets mailing list