svn commit: r564957 - head/x11/terminal.app

Alexey Dokuchaev danfe at FreeBSD.org
Thu Feb 11 15:21:23 UTC 2021


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


More information about the svn-ports-all mailing list