summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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