Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2018 06:23:54 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475496 - head/editors/zoinks
Message-ID:  <201807280623.w6S6NsEf088255@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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