On Tue, Nov 17, 2026 at 08:22:14PM +0100, f.holop wrote:
> f.holop - Mon, 16 November 2026 at 23:58:14
> > The following tests FAILED:
> >          38 - sequence_no_decoder_output (SEGFAULT)
> 
> ok, problem "solved", 1.23.6 does not have the failing test:
> 
> ```
> 100% tests passed, 0 tests failed out of 42
> 
> Total Test time (real) =   3.57 sec
> 
> The following tests did not run:
>           2 - encode (Skipped)
>           3 - encode_grid (Skipped)
>          11 - jpeg2000_openjpeg_grid_limit (Skipped)
>          12 - jpeg2000_signed_components (Skipped)
>          23 - write_to_file (Skipped)
>          25 - region (Skipped)
>          35 - text (Skipped)
>          37 - component_descriptions (Skipped)
>          38 - ffmpeg_decode_bitdepth (Skipped)
> ```
> 
> Please test and commit.
> 
> -- 
> -f

With the piles of CVE fixed we definitely do not want to go backwards.

Here is a proper diff.


Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/libheif/Makefile,v
retrieving revision 1.25
diff -u -p -u -p -r1.25 Makefile
--- Makefile    22 May 2026 00:11:37 -0000      1.25
+++ Makefile    17 Nov 2026 23:44:03 -0000
@@ -1,10 +1,9 @@
 COMMENT=       HEIF and AVIF file format decoder and encoder
 
-V=             1.22.0
-REVISION=      0
+V=             1.23.7
 DISTNAME=      libheif-$V
 
-SHARED_LIBS +=  heif 3.1
+SHARED_LIBS +=  heif 3.2
 
 CATEGORIES=    multimedia graphics
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/libheif/distinfo,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 distinfo
--- distinfo    20 May 2026 19:47:22 -0000      1.16
+++ distinfo    17 Nov 2026 23:44:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (libheif-1.22.0.tar.gz) = i9IM+jIBmXuPYyZs3fq+ouFIFGfX+ZLmolleC+xpH8I=
-SIZE (libheif-1.22.0.tar.gz) = 2043416
+SHA256 (libheif-1.23.7.tar.gz) = 90g+gYUD6mIkyIY+SlasAscIkCGphHLIEcEqoZ+vJHU=
+SIZE (libheif-1.23.7.tar.gz) = 2439383
Index: patches/patch-libheif_api_libheif_heif_properties_h
===================================================================
RCS file: patches/patch-libheif_api_libheif_heif_properties_h
diff -N patches/patch-libheif_api_libheif_heif_properties_h
--- patches/patch-libheif_api_libheif_heif_properties_h 22 May 2026 00:11:37 
-0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-From ef124f9988e57a06ad6d102c236d2bb4b82aef5d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= <[email protected]>
-Date: Wed, 20 May 2026 00:37:24 +0200
-Subject: [PATCH] heif_properties.h: fix "bad_pixels" type
-
-Index: libheif/api/libheif/heif_properties.h
---- libheif/api/libheif/heif_properties.h.orig
-+++ libheif/api/libheif/heif_properties.h
-@@ -335,7 +335,7 @@ heif_error heif_image_add_sensor_bad_pixels_map(heif_i
-                                                  uint32_t num_bad_columns,
-                                                  const uint32_t* bad_columns,
-                                                  uint32_t num_bad_pixels,
--                                                 const heif_bad_pixel* 
bad_pixels);
-+                                                 const struct heif_bad_pixel* 
bad_pixels);
- 
- // Returns the number of sensor bad pixels maps on this image (0 if none).
- LIBHEIF_API
Index: patches/patch-libheif_api_libheif_heif_sequences_cc
===================================================================
RCS file: patches/patch-libheif_api_libheif_heif_sequences_cc
diff -N patches/patch-libheif_api_libheif_heif_sequences_cc
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-libheif_api_libheif_heif_sequences_cc 17 Nov 2026 23:44:03 
-0000
@@ -0,0 +1,14 @@
+- heif_track_decode_next_image: return heif_error_success on success
+
+Index: libheif/api/libheif/heif_sequences.cc
+--- libheif/api/libheif/heif_sequences.cc.orig
++++ libheif/api/libheif/heif_sequences.cc
+@@ -219,7 +219,7 @@ heif_error heif_track_decode_next_image(heif_track* tr
+     *out_img = new heif_image();
+     (*out_img)->image = std::move(img);
+ 
+-    return {};
++    return heif_error_success;
+   });
+ }
+ 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/multimedia/libheif/pkg/PLIST,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 PLIST
--- pkg/PLIST   20 May 2026 19:47:23 -0000      1.11
+++ pkg/PLIST   17 Nov 2026 23:44:03 -0000
@@ -15,6 +15,7 @@ include/libheif/heif_decoding.h
 include/libheif/heif_encoding.h
 include/libheif/heif_entity_groups.h
 include/libheif/heif_error.h
+include/libheif/heif_export.h
 include/libheif/heif_image.h
 include/libheif/heif_image_handle.h
 include/libheif/heif_items.h

Reply via email to