diff --git a/jasper-exports.patch b/jasper-exports.patch index 81d17d7..86e076f 100644 --- a/jasper-exports.patch +++ b/jasper-exports.patch @@ -1,6 +1,6 @@ diff -rupN jasper-version-2.0.16/src/libjasper/include/jasper/jas_image.h jasper-version-2.0.16-new/src/libjasper/include/jasper/jas_image.h --- jasper-version-2.0.16/src/libjasper/include/jasper/jas_image.h 2019-03-12 19:04:35.000000000 +0100 -+++ jasper-version-2.0.16-new/src/libjasper/include/jasper/jas_image.h 2019-10-09 10:28:58.123940616 +0200 ++++ jasper-version-2.0.16-new/src/libjasper/include/jasper/jas_image.h 2019-11-13 21:46:30.322873908 +0100 @@ -496,10 +496,10 @@ int jas_image_ishomosamp(jas_image_t *im int jas_image_sampcmpt(jas_image_t *image, int cmptno, int newcmptno, jas_image_coord_t ho, jas_image_coord_t vo, jas_image_coord_t hs, @@ -14,3 +14,36 @@ diff -rupN jasper-version-2.0.16/src/libjasper/include/jasper/jas_image.h jasper jas_image_coord_t y, jas_image_coord_t width, jas_image_coord_t height, long *buf); +@@ -549,23 +549,23 @@ int bmp_validate(jas_stream_t *in); + + #if !defined(EXCLUDE_JP2_SUPPORT) + /* Format-dependent operations for JP2 support. */ +-jas_image_t *jp2_decode(jas_stream_t *in, const char *optstr); +-int jp2_encode(jas_image_t *image, jas_stream_t *out, const char *optstr); +-int jp2_validate(jas_stream_t *in); ++JAS_DLLEXPORT jas_image_t *jp2_decode(jas_stream_t *in, const char *optstr); ++JAS_DLLEXPORT int jp2_encode(jas_image_t *image, jas_stream_t *out, const char *optstr); ++JAS_DLLEXPORT int jp2_validate(jas_stream_t *in); + #endif + + #if !defined(EXCLUDE_JPC_SUPPORT) + /* Format-dependent operations for JPEG-2000 code stream support. */ +-jas_image_t *jpc_decode(jas_stream_t *in, const char *optstr); +-int jpc_encode(jas_image_t *image, jas_stream_t *out, const char *optstr); +-int jpc_validate(jas_stream_t *in); ++JAS_DLLEXPORT jas_image_t *jpc_decode(jas_stream_t *in, const char *optstr); ++JAS_DLLEXPORT int jpc_encode(jas_image_t *image, jas_stream_t *out, const char *optstr); ++JAS_DLLEXPORT int jpc_validate(jas_stream_t *in); + #endif + + #if !defined(EXCLUDE_PGX_SUPPORT) + /* Format-dependent operations for PGX support. */ +-jas_image_t *pgx_decode(jas_stream_t *in, const char *optstr); +-int pgx_encode(jas_image_t *image, jas_stream_t *out, const char *optstr); +-int pgx_validate(jas_stream_t *in); ++JAS_DLLEXPORT jas_image_t *pgx_decode(jas_stream_t *in, const char *optstr); ++JAS_DLLEXPORT int pgx_encode(jas_image_t *image, jas_stream_t *out, const char *optstr); ++JAS_DLLEXPORT int pgx_validate(jas_stream_t *in); + #endif + + #ifdef __cplusplus diff --git a/mingw-jasper.spec b/mingw-jasper.spec index ad23f69..b58ba68 100644 --- a/mingw-jasper.spec +++ b/mingw-jasper.spec @@ -2,7 +2,7 @@ Name: mingw-jasper Version: 2.0.16 -Release: 3%{?dist} +Release: 4%{?dist} Summary: MinGW Windows Jasper library License: JasPer @@ -124,6 +124,9 @@ rmdir %{buildroot}%{mingw64_datadir} %changelog +* Wed Nov 13 2019 Sandro Mani - 2.0.16-4 +- Export some additional symbols, needed by mingw-gdal + * Wed Oct 09 2019 Sandro Mani - 2.0.16-3 - Export some additional symbols, needed by mingw-gstreamer-plugins-bad-free