summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-12-10 21:50:26 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2020-12-10 21:50:34 +0100
commit89f1225543db769277015aab351e720d4a0b31ca (patch)
treeb121dd37d72189dc922819fe98a9fb11f015274d /gnustep-base
parentgnustep-base/gnustep-base: fix compilation with dev-libs/icu-68 (diff)
downloadgentoo-89f1225543db769277015aab351e720d4a0b31ca.tar.gz
gentoo-89f1225543db769277015aab351e720d4a0b31ca.tar.bz2
gentoo-89f1225543db769277015aab351e720d4a0b31ca.zip
gnustep-base/gnustep-gui: fix compilation with dev-libs/icu-68
Thanks Luis Cáceres <lacaceres97@gmail.com> for bug report and patch Closes: https://bugs.gentoo.org/759202 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/gnustep-gui/files/gnustep-gui-0.28.0-icu68.patch15
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild2
2 files changed, 17 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-gui/files/gnustep-gui-0.28.0-icu68.patch b/gnustep-base/gnustep-gui/files/gnustep-gui-0.28.0-icu68.patch
new file mode 100644
index 000000000000..5bda307b951d
--- /dev/null
+++ b/gnustep-base/gnustep-gui/files/gnustep-gui-0.28.0-icu68.patch
@@ -0,0 +1,15 @@
+--- a/Headers/Additions/GNUstepGUI/GSCharacterPanel.h.old
++++ b/Headers/Additions/GNUstepGUI/GSCharacterPanel.h
+@@ -26,6 +26,12 @@
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+ */
++#ifndef TRUE
++#define TRUE 1
++#endif
++#ifndef FALSE
++#define FALSE 0
++#endif
+
+ #ifndef _GNUstep_H_GSCharacterPanel
+ #define _GNUstep_H_GSCharacterPanel
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild
index 9671dea99284..4b7effe4b8ff 100644
--- a/gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.28.0.ebuild
@@ -27,6 +27,8 @@ DEPEND="${GNUSTEP_CORE_DEPEND}
speech? ( app-accessibility/flite )"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-icu68.patch )
+
src_prepare() {
gnustep-base_src_prepare