svn commit: r475496 - head/editors/zoinks

Tobias Kortkamp tobik at FreeBSD.org
Sat Jul 28 06:23:55 UTC 2018


Author: tobik
Date: Sat Jul 28 06:23:54 2018
New Revision: 475496
URL: https://svnweb.freebsd.org/changeset/ports/475496

Log:
  editors/zoinks: Fix build with Clang 6
  
  TFWCursors.cpp:32:2: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
          0x80, 0x00,
          ^~~~
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/zoinks-0.4.1_2.log
  
  - While here add missing dependencies and LICENSE_FILE

Modified:
  head/editors/zoinks/Makefile

Modified: head/editors/zoinks/Makefile
==============================================================================
--- head/editors/zoinks/Makefile	Sat Jul 28 06:17:11 2018	(r475495)
+++ head/editors/zoinks/Makefile	Sat Jul 28 06:23:54 2018	(r475496)
@@ -3,7 +3,7 @@
 
 PORTNAME=	zoinks
 PORTVERSION=	0.4.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	editors
 MASTER_SITES=	http://zoinks.mikelockwood.com/download/
 
@@ -11,11 +11,15 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	X11 programmer's editor and development environment
 
 LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_XORG=	xpm
+USES=		compiler
+USE_XORG=	x11 xext xpm
 GNU_CONFIGURE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
+CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang=	-Wno-c++11-narrowing
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=		NLS


More information about the svn-ports-all mailing list