Max Brazhnikov
2024-11-12 15:06:22 +03:00
parent 3f94bf7607
commit 167ecf6119
4 changed files with 4 additions and 27 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
PORTNAME= libheif
DISTVERSION= 1.19.1
PORTREVISION= 1
DISTVERSION= 1.19.3
CATEGORIES= graphics
MASTER_SITES= https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1730562330
SHA256 (libheif-1.19.1.tar.gz) = 994913eb2a29c00c146d6f3d61e07d9ff0d8e9eccb0624d87e4be8b108c74e4b
SIZE (libheif-1.19.1.tar.gz) = 1649119
TIMESTAMP = 1731406330
SHA256 (libheif-1.19.3.tar.gz) = 1e6d3bb5216888a78fbbf5fd958cd3cf3b941aceb002d2a8d635f85cc59a8599
SIZE (libheif-1.19.3.tar.gz) = 1714718
@@ -1,11 +0,0 @@
--- libheif/api/libheif/heif.h.orig 2024-11-01 10:56:56 UTC
+++ libheif/api/libheif/heif.h
@@ -2363,7 +2363,7 @@ struct heif_encoding_options
// Set this to the NCLX parameters to be used in the output image or set to NULL
// when the same parameters as in the input image should be used.
- const struct heif_color_profile_nclx* output_nclx_profile;
+ struct heif_color_profile_nclx* output_nclx_profile;
uint8_t macOS_compatibility_workaround_no_nclx_profile;
@@ -1,11 +0,0 @@
--- libheif/context.cc.orig 2024-11-01 10:56:56 UTC
+++ libheif/context.cc
@@ -1154,7 +1154,7 @@ Result<std::shared_ptr<ImageItem>> HeifContext::encode
heif_encoding_options options = in_options;
if (const auto* nclx = output_image_item->get_forced_output_nclx()) {
- options.output_nclx_profile = nclx;
+ options.output_nclx_profile = const_cast<heif_color_profile_nclx*>(nclx);
}
Result<std::shared_ptr<HeifPixelImage>> srcImageResult = output_image_item->convert_colorspace_for_encoding(pixel_image,