1 |
commit: 5a688181a889ff736c177b911ce9f5f0d1cecf94 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 16:46:11 2020 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 16:46:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a688181 |
7 |
|
8 |
gnustep-apps/terminal: fix build with -fno-common |
9 |
|
10 |
Closes: https://bugs.gentoo.org/742407 |
11 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
12 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
13 |
|
14 |
gnustep-apps/terminal/files/terminal-0.9.9-fno-common.patch | 12 ++++++++++++ |
15 |
gnustep-apps/terminal/terminal-0.9.9.ebuild | 4 +++- |
16 |
2 files changed, 15 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/gnustep-apps/terminal/files/terminal-0.9.9-fno-common.patch b/gnustep-apps/terminal/files/terminal-0.9.9-fno-common.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..e992c86e5e9 |
21 |
--- /dev/null |
22 |
+++ b/gnustep-apps/terminal/files/terminal-0.9.9-fno-common.patch |
23 |
@@ -0,0 +1,12 @@ |
24 |
+diff -Naur Terminal-0.9.9.orig/TerminalWindow.h Terminal-0.9.9/TerminalWindow.h |
25 |
+--- Terminal-0.9.9.orig/TerminalWindow.h 2016-06-10 19:50:22.000000000 +0200 |
26 |
++++ Terminal-0.9.9/TerminalWindow.h 2020-09-16 18:31:15.680833836 +0200 |
27 |
+@@ -17,7 +17,7 @@ |
28 |
+ #import <AppKit/NSWindowController.h> |
29 |
+ #import <AppKit/NSTabView.h> |
30 |
+ |
31 |
+-NSString *TerminalWindowNoMoreActiveWindowsNotification; |
32 |
++extern NSString *TerminalWindowNoMoreActiveWindowsNotification; |
33 |
+ |
34 |
+ @interface TerminalWindowController : NSWindowController |
35 |
+ { |
36 |
|
37 |
diff --git a/gnustep-apps/terminal/terminal-0.9.9.ebuild b/gnustep-apps/terminal/terminal-0.9.9.ebuild |
38 |
index 7b5797f6794..25e1576fd5a 100644 |
39 |
--- a/gnustep-apps/terminal/terminal-0.9.9.ebuild |
40 |
+++ b/gnustep-apps/terminal/terminal-0.9.9.ebuild |
41 |
@@ -8,10 +8,12 @@ inherit gnustep-2 |
42 |
S=${WORKDIR}/${P/t/T} |
43 |
|
44 |
DESCRIPTION="A terminal emulator for GNUstep" |
45 |
-HOMEPAGE="http://www.nongnu.org/terminal/" |
46 |
+HOMEPAGE="http://www.nongnu.org/gap/terminal/" |
47 |
SRC_URI="https://savannah.nongnu.org/download/gap/${P/t/T}.tar.gz" |
48 |
|
49 |
LICENSE="GPL-2" |
50 |
KEYWORDS="amd64 ~ppc ~x86" |
51 |
SLOT="0" |
52 |
IUSE="" |
53 |
+ |
54 |
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) |