svn commit: r566774 - head/deskutils/gworkspace

Alexey Dokuchaev danfe at FreeBSD.org
Sun Feb 28 16:36:31 UTC 2021


Author: danfe
Date: Sun Feb 28 16:36:31 2021
New Revision: 566774
URL: https://svnweb.freebsd.org/changeset/ports/566774

Log:
  1) The -fno-common fix attempt in r561452 was actually wrong: it marked
     the declaration of the variable ``serverConnection'' as extern, but
     there is no corresponding definition of the variable, so it remained
     an unresolved symbol (that didn't result in a build failure, because
     GNUstep applications are linked as a shared object)
  
  2) GC leftovers from r132311: unreferenced ADDITIONAL_LDFLAGS and bogus
     USES+=ghostscript (PDF viewer requires PDFKit framework which is not
     available from the Ports Collection)
  
  Reported by:	naddy (1)
  Obtained from:	Debian

Modified:
  head/deskutils/gworkspace/Makefile

Modified: head/deskutils/gworkspace/Makefile
==============================================================================
--- head/deskutils/gworkspace/Makefile	Sun Feb 28 15:46:12 2021	(r566773)
+++ head/deskutils/gworkspace/Makefile	Sun Feb 28 16:36:31 2021	(r566774)
@@ -2,7 +2,7 @@
 
 PORTNAME=	gworkspace
 PORTVERSION=	0.9.4
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	deskutils gnustep
 #MASTER_SITES=	http://www.gnustep.it/enrico/gworkspace/
 MASTER_SITES=	GNUSTEP/usr-apps
@@ -17,19 +17,6 @@ USE_GNUSTEP=	back build
 USE_LDCONFIG=	${GNUSTEP_SYSTEM_LIBRARIES}
 
 GNU_CONFIGURE=	yes
-ADDITIONAL_LDFLAGS+=	-L${WRKSRC}/FSNode/FSNode.framework/Versions/A
-
-.if defined(WITHOUT_GHOSTSCRIPT)
-PLIST_SUB+=	PDFVIEW="@comment "
-.else
-PLIST_SUB+=	PDFVIEW=""
-USES+=		ghostscript
-.endif
-
-post-patch:
-# Fix the build with -fno-common (for Clang 11 and GCC 10)
-	@${REINPLACE_CMD} -e '/serverConnection/s,^,extern ,' \
-		${WRKSRC}/Inspector/ContentViewers/ImageViewer/Resizer.h
 
 pre-configure:
 	${RM} -r ${WRKSRC}/GWMetadata


More information about the svn-ports-all mailing list