Skip to content

Commit

Permalink
gnustep-apps/terminal: fix build with -fno-common
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/742407
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli <[email protected]>
  • Loading branch information
voyageur committed Sep 16, 2020
1 parent 861e4d7 commit 5a68818
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions gnustep-apps/terminal/files/terminal-0.9.9-fno-common.patch
Original file line number Diff line number Diff line change
@@ -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
{
4 changes: 3 additions & 1 deletion gnustep-apps/terminal/terminal-0.9.9.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 )

0 comments on commit 5a68818

Please sign in to comment.