Hi!

Update of mupdf to version 1.13.0,1 doesn't work on my FreeBSD
11.2-RELEASE (amd64):

 source/fitz/load-jpx.c:462:2: error: unknown type
name 'OPJ_SIZE_T' OPJ_SIZE_T size;
        ^
source/fitz/load-jpx.c:463:2: error: unknown type name 'OPJ_SIZE_T'
        OPJ_SIZE_T pos;
        ^
source/fitz/load-jpx.c:602:8: error: unknown type name 'OPJ_SIZE_T'
static OPJ_SIZE_T fz_opj_stream_read(void * p_buffer, OPJ_SIZE_T
p_nb_bytes, void * p_user_data) ^
source/fitz/load-jpx.c:602:55: error: unknown type name 'OPJ_SIZE_T'
static OPJ_SIZE_T fz_opj_stream_read(void * p_buffer, OPJ_SIZE_T
p_nb_bytes, void * p_user_data) ^
source/fitz/load-jpx.c:605:2: error: use of undeclared identifier
'OPJ_SIZE_T' OPJ_SIZE_T len;
        ^
source/fitz/load-jpx.c:607:2: error: use of undeclared identifier 'len'
        len = sb->size - sb->pos;
        ^
source/fitz/load-jpx.c:608:6: error: use of undeclared identifier 'len'
        if (len == 0)
            ^
source/fitz/load-jpx.c:609:11: error: use of undeclared identifier
'OPJ_SIZE_T' return (OPJ_SIZE_T)-1; /* End of file! */
                        ^
source/fitz/load-jpx.c:610:6: error: use of undeclared identifier 'len'
        if (len > p_nb_bytes)
            ^
source/fitz/load-jpx.c:611:3: error: use of undeclared identifier 'len'
                len = p_nb_bytes;
                ^
source/fitz/load-jpx.c:612:39: error: use of undeclared identifier 'len'
        memcpy(p_buffer, sb->data + sb->pos, len);
                                             ^
source/fitz/load-jpx.c:613:13: error: use of undeclared identifier 'len'
        sb->pos += len;
                   ^
source/fitz/load-jpx.c:614:9: error: use of undeclared identifier 'len'
        return len;
               ^
source/fitz/load-jpx.c:617:8: error: unknown type name 'OPJ_OFF_T'
static OPJ_OFF_T fz_opj_stream_skip(OPJ_OFF_T skip, void * p_user_data)
       ^
source/fitz/load-jpx.c:617:37: error: unknown type name 'OPJ_OFF_T'
static OPJ_OFF_T fz_opj_stream_skip(OPJ_OFF_T skip, void * p_user_data)
                                    ^
source/fitz/load-jpx.c:621:14: error: use of undeclared identifier
'OPJ_OFF_T' if (skip > (OPJ_OFF_T)(sb->size - sb->pos))
                    ^
source/fitz/load-jpx.c:622:11: error: use of undeclared identifier
'OPJ_OFF_T' skip = (OPJ_OFF_T)(sb->size - sb->pos);
                        ^
source/fitz/load-jpx.c:627:8: error: unknown type name 'OPJ_BOOL'
static OPJ_BOOL fz_opj_stream_seek(OPJ_OFF_T seek_pos, void *
p_user_data) ^
source/fitz/load-jpx.c:627:36: error: unknown type name 'OPJ_OFF_T'
static OPJ_BOOL fz_opj_stream_seek(OPJ_OFF_T seek_pos, void *
p_user_data) ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[2]: *** [Makefile:122: build/release/source/fitz/load-jpx.o]
Error 1 gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory
'/usr/ports/graphics/mupdf/work/mupdf-1.13.0-source' ===> Compilation
failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before
reporting the failure to the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/mupdf
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/mupdf

===>>> make build failed for graphics/mupdf
===>>> Aborting update  

===>>> Update for graphics/mupdf failed
===>>> Aborting update  


Thank you.

SK
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to