From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnustep-base/gnustep-gui/files/, gnustep-base/gnustep-gui/
Date: Fri, 24 Nov 2023 14:33:24 +0000 (UTC) [thread overview]
Message-ID: <1700836335.1ea42c0e1f0bd21d8cb3024f40d0303cf70b38de.voyageur@gentoo> (raw)
commit: 1ea42c0e1f0bd21d8cb3024f40d0303cf70b38de
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 14:30:54 2023 +0000
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 14:32:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea42c0e
gnustep-base/gnustep-gui: backport fix for simpleagenda
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
.../files/gnustep-gui-0.30.0-nssound.patch | 24 ++++++++++++++++++++++
...-0.30.0.ebuild => gnustep-gui-0.30.0-r1.ebuild} | 2 ++
2 files changed, 26 insertions(+)
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
similarity index 96%
rename from gnustep-base/gnustep-gui/gnustep-gui-0.30.0.ebuild
rename to 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
next reply other threads:[~2023-11-24 14:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 14:33 Bernard Cafarelli [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-27 10:27 [gentoo-commits] repo/gentoo:master commit in: gnustep-base/gnustep-gui/files/, gnustep-base/gnustep-gui/ Bernard Cafarelli
2025-03-10 0:03 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1700836335.1ea42c0e1f0bd21d8cb3024f40d0303cf70b38de.voyageur@gentoo \
--to=voyageur@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox