summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-11-29 12:07:56 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-11-29 12:09:06 +0100
commit50de6b10f55646a2e12183285189881916bbdd67 (patch)
treeda37bea7552c98378b080b6739cc3b571179a46e /app-text
parentdev-ruby/gettext-setup: cleanup (diff)
downloadgentoo-50de6b10f55646a2e12183285189881916bbdd67.tar.gz
gentoo-50de6b10f55646a2e12183285189881916bbdd67.tar.bz2
gentoo-50de6b10f55646a2e12183285189881916bbdd67.zip
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@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/calibre/files/calibre-4.22.0-icu68.patch12
1 files changed, 12 insertions, 0 deletions
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 33cd7830d358..c4b3baf05703 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