summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-09-16 18:46:11 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2020-09-16 18:46:23 +0200
commit5a688181a889ff736c177b911ce9f5f0d1cecf94 (patch)
tree02036533d5711ce1825c76919a5da1d2252d3d94 /gnustep-apps
parentacct-user/netdata: Cleanup old version (diff)
downloadgentoo-5a688181a889ff736c177b911ce9f5f0d1cecf94.tar.gz
gentoo-5a688181a889ff736c177b911ce9f5f0d1cecf94.tar.bz2
gentoo-5a688181a889ff736c177b911ce9f5f0d1cecf94.zip
gnustep-apps/terminal: fix build with -fno-common
Closes: https://bugs.gentoo.org/742407 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-apps')
-rw-r--r--gnustep-apps/terminal/files/terminal-0.9.9-fno-common.patch12
-rw-r--r--gnustep-apps/terminal/terminal-0.9.9.ebuild4
2 files changed, 15 insertions, 1 deletions
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
new file mode 100644
index 000000000000..e992c86e5e93
--- /dev/null
+++ b/gnustep-apps/terminal/files/terminal-0.9.9-fno-common.patch
@@ -0,0 +1,12 @@
+diff -Naur Terminal-0.9.9.orig/TerminalWindow.h Terminal-0.9.9/TerminalWindow.h
+--- Terminal-0.9.9.orig/TerminalWindow.h 2016-06-10 19:50:22.000000000 +0200
++++ Terminal-0.9.9/TerminalWindow.h 2020-09-16 18:31:15.680833836 +0200
+@@ -17,7 +17,7 @@
+ #import <AppKit/NSWindowController.h>
+ #import <AppKit/NSTabView.h>
+
+-NSString *TerminalWindowNoMoreActiveWindowsNotification;
++extern NSString *TerminalWindowNoMoreActiveWindowsNotification;
+
+ @interface TerminalWindowController : NSWindowController
+ {
diff --git a/gnustep-apps/terminal/terminal-0.9.9.ebuild b/gnustep-apps/terminal/terminal-0.9.9.ebuild
index 7b5797f6794d..25e1576fd5a1 100644
--- a/gnustep-apps/terminal/terminal-0.9.9.ebuild
+++ b/gnustep-apps/terminal/terminal-0.9.9.ebuild
@@ -8,10 +8,12 @@ inherit gnustep-2
S=${WORKDIR}/${P/t/T}
DESCRIPTION="A terminal emulator for GNUstep"
-HOMEPAGE="http://www.nongnu.org/terminal/"
+HOMEPAGE="http://www.nongnu.org/gap/terminal/"
SRC_URI="https://savannah.nongnu.org/download/gap/${P/t/T}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc ~x86"
SLOT="0"
IUSE=""
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )