gentoo/dev-libs/eb/files/eb-4.4.3-fix-threads.patch
xz-dev 5e280a4691
dev-libs/eb: fix build with gcc14, bump to 4.4.3
Closes: https://bugs.gentoo.org/920641
Signed-off-by: xz-dev <xiangzhedev@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37731
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-08-19 22:03:56 +03:00

14 lines
354 B
Diff

diff --git a/eb/readtext.c b/eb/readtext.c
index 6e3c218..e4dcf95 100644
--- a/eb/readtext.c
+++ b/eb/readtext.c
@@ -1560,7 +1560,7 @@ eb_is_text_stopped(EB_Book *book)
{
int is_stopped = 0;
- eb_lock(book);
+ eb_lock(&book->lock);
LOG(("in: eb_is_text_stopped(book=%d)", (int)book->code));
if (book->subbook_current != NULL) {