summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-11-24 15:30:54 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2023-11-24 15:32:15 +0100
commit1ea42c0e1f0bd21d8cb3024f40d0303cf70b38de (patch)
treeb00184586bbf90a690edee6e686c84eba0a38282 /gnustep-base
parentsci-visualization/gnuplot: stabilize 5.4.8 for amd64 (diff)
downloadgentoo-1ea42c0e1f0bd21d8cb3024f40d0303cf70b38de.tar.gz
gentoo-1ea42c0e1f0bd21d8cb3024f40d0303cf70b38de.tar.bz2
gentoo-1ea42c0e1f0bd21d8cb3024f40d0303cf70b38de.zip
gnustep-base/gnustep-gui: backport fix for simpleagenda
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/gnustep-gui/files/gnustep-gui-0.30.0-nssound.patch24
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.30.0-r1.ebuild (renamed from gnustep-base/gnustep-gui/gnustep-gui-0.30.0.ebuild)2
2 files changed, 26 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-gui/files/gnustep-gui-0.30.0-nssound.patch b/gnustep-base/gnustep-gui/files/gnustep-gui-0.30.0-nssound.patch
new file mode 100644
index 000000000000..872a12e1169a
--- /dev/null
+++ b/gnustep-base/gnustep-gui/files/gnustep-gui-0.30.0-nssound.patch
@@ -0,0 +1,24 @@
+From f10c0eeb1ba5276d32c70a479f77eff54c6bdba5 Mon Sep 17 00:00:00 2001
+From: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
+Date: Thu, 2 Mar 2023 13:19:39 +0100
+Subject: [PATCH] This broke building SimpleAgenda for me:
+
+In file included from SoundBackend.m:1:
+/usr/local/include/AppKit/NSSound.h:57:1: error: unknown type name 'APPKIT_EXPORT_CLASS'
+APPKIT_EXPORT_CLASS
+---
+ Headers/AppKit/NSSound.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Headers/AppKit/NSSound.h b/Headers/AppKit/NSSound.h
+index 4f4438765..c28019f55 100644
+--- a/Headers/AppKit/NSSound.h
++++ b/Headers/AppKit/NSSound.h
+@@ -30,6 +30,7 @@
+
+ #ifndef _GNUstep_H_NSSound
+ #define _GNUstep_H_NSSound
++#import <AppKit/AppKitDefines.h>
+
+ #import <Foundation/NSObject.h>
+ #import <Foundation/NSBundle.h>
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.30.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.30.0-r1.ebuild
index 8bbccd8f2ea8..266a0fd9a8f9 100644
--- a/gnustep-base/gnustep-gui/gnustep-gui-0.30.0.ebuild
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.30.0-r1.ebuild
@@ -27,6 +27,8 @@ DEPEND="${GNUSTEP_CORE_DEPEND}
speech? ( app-accessibility/flite )"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-nssound.patch )
+
src_prepare() {
gnustep-base_src_prepare