[MacPorts] #43599: ImageMagick: jp2 support broken

MacPorts noreply at macports.org
Wed May 7 16:32:24 PDT 2014


#43599: ImageMagick: jp2 support broken
---------------------------+--------------------------
  Reporter:  t.thorsted@…  |      Owner:  ryandesign@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  ImageMagick   |
---------------------------+--------------------------

Comment (by ryandesign@…):

 openjpeg has been updated to 2.1.0, and it does now provide the required
 pkg-config file, but unfortunately ImageMagick doesn't seem to be
 compatible with this version of openjpeg:

 {{{
 coders/jp2.c:343:44: error: too few arguments to function call, expected
 3, have 2
   opj_stream_set_user_data(jp2_stream,image);
   ~~~~~~~~~~~~~~~~~~~~~~~~                 ^
 /opt/local/include/openjpeg-2.1/openjpeg.h:1154:1: note:
 'opj_stream_set_user_data' declared here
 OPJ_API void OPJ_CALLCONV opj_stream_set_user_data (opj_stream_t*
 p_stream, void * p_data, opj_stream_free_user_data_fn p_function);
 ^
 /opt/local/include/openjpeg-2.1/openjpeg.h:82:20: note: expanded from
 macro 'OPJ_API'
 #define OPJ_API    __attribute__ ((visibility ("default")))
                    ^
 }}}

 I committed the work on ImageMagick so far in r119841.

-- 
Ticket URL: <https://trac.macports.org/ticket/43599#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list