GraphicsMagick: Development JasPer 3.0.0 jas_initialize() is not...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.28464.1640211178.1995.graphicsmagick-commit@lists.sourceforge.net>
changeset 0616f69e17d3 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=0616f69e17d3
summary: Development JasPer 3.0.0 jas_initialize() is not yet ready for our purposes.

diffstat:

 ChangeLog          |  3 ++-
 coders/jp2.c       |  5 +++++
 www/Changelog.html |  9 +++++++--
 3 files changed, 14 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r dd0b1269c3c8 -r 0616f69e17d3 ChangeLog
--- a/ChangeLog	Wed Dec 22 12:30:36 2021 -0600
+++ b/ChangeLog	Wed Dec 22 16:12:34 2021 -0600
@@ -2,7 +2,8 @@
 
         * coders/jp2.c (realloc_rlm): JasPer wants its custom memory
         allocators to return non-null for a zero-sized request.  Make it
-        so for the 'realloc' case as well.
+        so for the 'realloc' case as well.  Development JasPer 3.0.0
+        jas_initialize() is not yet ready for our purposes.
 
         * coders/mat.c (ReadMATImageV4): Change 'ldblk' to size_t and
         check related calculations for overflow and to avoid possible
diff -r dd0b1269c3c8 -r 0616f69e17d3 coders/jp2.c
--- a/coders/jp2.c	Wed Dec 22 12:30:36 2021 -0600
+++ b/coders/jp2.c	Wed Dec 22 16:12:34 2021 -0600
@@ -92,6 +92,11 @@
 #    undef HAVE_PGX_DECODE
 #  endif
 
+/* Development JasPer 3.0.0 jas_initialize() is not yet ready for our purposes */
+#if !(defined(ENABLE_JAS_INITIALIZE) && ENABLE_JAS_INITIALIZE)
+#undef HAVE_JAS_INITIALIZE
+#endif /* if !defined(ENABLE_JAS_INITIALIZE) */
+
 
 /*
   Forward declarations.
diff -r dd0b1269c3c8 -r 0616f69e17d3 www/Changelog.html
--- a/www/Changelog.html	Wed Dec 22 12:30:36 2021 -0600
+++ b/www/Changelog.html	Wed Dec 22 16:12:34 2021 -0600
@@ -37,9 +37,14 @@
 
 <p>2021-12-22  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
-* coders/mat.c (ReadMATImageV4): Change 'ldblk' to size_t and
+<p>* coders/jp2.c (realloc_rlm): JasPer wants its custom memory
+allocators to return non-null for a zero-sized request.  Make it
+so for the 'realloc' case as well.  Development JasPer 3.0.0
+jas_initialize() is not yet ready for our purposes.</p>
+<p>* coders/mat.c (ReadMATImageV4): Change 'ldblk' to size_t and
 check related calculations for overflow and to avoid possible
-negative seek offsets.</blockquote>
+negative seek offsets.</p>
+</blockquote>
 <p>2021-12-21  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 <p>* magick/signature.c: Remove functions FinalizeSignature,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.