Hello,
That may work with some versions of libheif, but does it for all 1.17 ->
1.21, and forward? Maybe not unlikely.
However, I'm more inclined to just require libheif >= 1.17.0.
/Kim
On 2026-08-30 12:05, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [e-users] imlib2-1.12.7 - make fails
Message-ID : <[email protected]>
Date & Time: Sat, 29 Aug 2026 17:06:30 +0200
[kw] == Kim Woelders <[email protected]> has written:
kw> Hmm..
kw> I have heif_error_success in /usr/include/libheif/heif_error.h, included by
kw> /usr/include/libheif/heif.h.
kw> This is libheif 1.20.2. Which libheif version do you have?
[...]
pr> > [snip]
pr> > loader_heif.c: In function '_heif_writer':
pr> > loader_heif.c:186:31: error: 'heif_error_success' undeclared (first use
in
pr> > this function); did you mean 'heif_error_code'?
pr> > 186 | struct heif_error error = heif_error_success;
pr> > | ^~~~~~~~~~~~~~~~~~
pr> > | heif_error_code
pr> > loader_heif.c:186:31: note: each undeclared identifier is
pr> reported only once for each function it appears in
pr> > [snip]
How about this patch?
loader_heif.c.patch
--- imlib2-1.12.7/src/modules/loaders/loader_heif.c.orig 2026-08-28
14:14:53.000000000 +0900
+++ imlib2-1.12.7/src/modules/loaders/loader_heif.c 2026-08-30
18:50:30.821243414 +0900
@@ -183,7 +183,7 @@
_heif_writer(struct heif_context *ctx, const void *data, size_t size,
void *userdata)
{
- struct heif_error error = heif_error_success;
+ struct heif_error error = { 0, 0, "Success" };
FILE *fp = userdata;
size_t nw;
Best Regsrds.
--
┏━━┓彡 Masaru Nomiya mail-to: nomiya @ ab.auone-net.jp
┃\/彡
┗━━┛ "To hire for skills, firms will need to implement robust and
intentional changes in their hiring practices — and change is
hard."
-- Employers don’t practice what they preach on skills-based hiring
--
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users