mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
Despite the seemingly large version jump, the sole change is the compatibility with lcms-2.x. I'm now also adding fixes for some compiler-warnings raised by the modern clang. These suggest, certain parts of the code aren't even really excercised. Neither API nor ABI are changing, so no shared library version-bump.
9 lines
546 B
C
9 lines
546 B
C
--- libmng_chunk_descr.c 2012-07-29 15:26:34.000000000 -0400
|
|
+++ libmng_chunk_descr.c 2024-01-08 14:32:15.916979000 -0500
|
|
@@ -2751,5 +2751,5 @@
|
|
mng_get_chunkheader (MNG_UINT_sRGB, &chunk_srgb);
|
|
/* pretend it's an sRGB chunk then ! */
|
|
- iRetcode = mng_read_general (pData, &chunk_srgb, 1, (mng_ptr)"0", &pDummy);
|
|
+ iRetcode = mng_read_general (pData, &chunk_srgb, 1, (mng_ptr)"0", (void **)&pDummy);
|
|
if (iRetcode) /* on error bail out */
|
|
return iRetcode;
|