1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

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
This commit is contained in:
Tobias Kortkamp 2018-07-28 06:23:54 +00:00
parent 34a4e70836
commit 898c0cbbee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475496

View File

@ -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