Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2021 15:21:17 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564957 - head/x11/terminal.app
Message-ID:  <202102111521.11BFLHwG046849@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Feb 11 15:21:17 2021
New Revision: 564957
URL: https://svnweb.freebsd.org/changeset/ports/564957

Log:
  Declare NSString pointer as `extern' to unbreak the build against modern
  compilers (Clang 11, GCC 10).

Modified:
  head/x11/terminal.app/Makefile

Modified: head/x11/terminal.app/Makefile
==============================================================================
--- head/x11/terminal.app/Makefile	Thu Feb 11 14:34:02 2021	(r564956)
+++ head/x11/terminal.app/Makefile	Thu Feb 11 15:21:17 2021	(r564957)
@@ -14,13 +14,14 @@ COMMENT=	Terminal Emulator for GNUstep
 LICENSE=	GPLv2 # only
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_FreeBSD_13=	duplicate symbol: TerminalWindowNoMoreActiveWindowsNotification
-BROKEN_FreeBSD_14=	duplicate symbol: TerminalWindowNoMoreActiveWindowsNotification
-
 USES=		gnustep iconv
 USE_GNUSTEP=	back build
 
 MAKE_ARGS+=	Terminal_TOOL_LIBS='${ICONV_LIB} -lutil'
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,^NSString \*,extern &,' \
+		${WRKSRC}/TerminalWindow.h
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/Terminal.app/Terminal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102111521.11BFLHwG046849>