From owner-svn-ports-all@freebsd.org Fri Dec 21 00:16:54 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50C6E1358DCD; Fri, 21 Dec 2018 00:16:54 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA85A74EA9; Fri, 21 Dec 2018 00:16:53 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DE6E6573C; Fri, 21 Dec 2018 00:16:53 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBL0GrL4063387; Fri, 21 Dec 2018 00:16:53 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBL0GrG5063384; Fri, 21 Dec 2018 00:16:53 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201812210016.wBL0GrG5063384@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 21 Dec 2018 00:16:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487933 - in head/comms/xcwcp: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/comms/xcwcp: . files X-SVN-Commit-Revision: 487933 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EA85A74EA9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.955,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2018 00:16:54 -0000 Author: yuri Date: Fri Dec 21 00:16:53 2018 New Revision: 487933 URL: https://svnweb.freebsd.org/changeset/ports/487933 Log: comms/xcwcp: Fix build with GCC-based architectures Also reorder USExx and other lines. PR: 234222 Submitted by: Piotr Kubaj Added: head/comms/xcwcp/files/ head/comms/xcwcp/files/patch-src_xcwcp_receiver.h (contents, props changed) Modified: head/comms/xcwcp/Makefile Modified: head/comms/xcwcp/Makefile ============================================================================== --- head/comms/xcwcp/Makefile Fri Dec 21 00:09:17 2018 (r487932) +++ head/comms/xcwcp/Makefile Fri Dec 21 00:16:53 2018 (r487933) @@ -11,10 +11,8 @@ LIB_DEPENDS= libcw.so:comms/unixcw MASTERDIR= ${.CURDIR}/../unixcw -PLIST= ${.CURDIR}/pkg-plist -USE_QT= buildtools gui widgets qmake_build -USES= gettext qt:5 -# Qt from 5.7.0 on requires c++11. +USES= compiler:c++11-lang gettext qt:5 +USE_QT= gui widgets buildtools_build qmake_build USE_CXXSTD= c++11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-xcwcp @@ -22,6 +20,8 @@ XCWCP= yes PLIST_FILES= bin/xcwcp \ man/man1/xcwcp.1.gz LDFLAGS+= -L${LOCALBASE}/lib -lintl + +PLIST= ${.CURDIR}/pkg-plist do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/xcwcp/xcwcp ${STAGEDIR}${PREFIX}/bin/ Added: head/comms/xcwcp/files/patch-src_xcwcp_receiver.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/xcwcp/files/patch-src_xcwcp_receiver.h Fri Dec 21 00:16:53 2018 (r487933) @@ -0,0 +1,12 @@ +--- src/xcwcp/receiver.h.orig 2018-12-20 17:18:13.332583000 +0100 ++++ src/xcwcp/receiver.h 2018-12-20 17:18:39.100884000 +0100 +@@ -21,6 +21,9 @@ + + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + + +