commit: 50de6b10f55646a2e12183285189881916bbdd67
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 11:07:56 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 11:09:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50de6b10
app-text/calibre: Added missing part of icu68 patch
Without that missing chunk build fails as follows:
/var/tmp/portage/app-text/calibre-4.23.0/work/calibre-4.23.0/src/calib
re/utils/matcher.c:18:23: error: two or more data types in declaration
specifiers
18 | typedef unsigned char bool;
| ^~~~
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
app-text/calibre/files/calibre-4.22.0-icu68.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/app-text/calibre/files/calibre-4.22.0-icu68.patch
b/app-text/calibre/files/calibre-4.22.0-icu68.patch
index 33cd7830d35..c4b3baf0570 100644
--- a/app-text/calibre/files/calibre-4.22.0-icu68.patch
+++ b/app-text/calibre/files/calibre-4.22.0-icu68.patch
@@ -32,6 +32,18 @@ index 62d05de310..4e918492d9 100644
}
end:
if (search != NULL) usearch_close(search);
+diff --git a/src/calibre/utils/matcher.c b/src/calibre/utils/matcher.c
+index f38a7082ce..8e57947867 100644
+--- a/src/calibre/utils/matcher.c
++++ b/src/calibre/utils/matcher.c
+@@ -15,7 +15,6 @@
+ #define inline
+ #endif
+
+-typedef unsigned char bool;
+ #define TRUE 1
+ #define FALSE 0
+ #define MAX(x, y) ((x > y) ? x : y)
--
2.29.2