From owner-svn-ports-head@freebsd.org Mon Aug 5 13:53:19 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F289FC441D; Mon, 5 Aug 2019 13:53:19 +0000 (UTC) (envelope-from pkubaj@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 462K3g68bYz3Ch0; Mon, 5 Aug 2019 13:53:19 +0000 (UTC) (envelope-from pkubaj@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 B4C3B1CBC9; Mon, 5 Aug 2019 13:53:19 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x75DrJ5G059432; Mon, 5 Aug 2019 13:53:19 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x75DrJJv059430; Mon, 5 Aug 2019 13:53:19 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201908051353.x75DrJJv059430@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 5 Aug 2019 13:53:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508170 - in head/misc/libsweep-lidar: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/misc/libsweep-lidar: . files X-SVN-Commit-Revision: 508170 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2019 13:53:20 -0000 Author: pkubaj Date: Mon Aug 5 13:53:19 2019 New Revision: 508170 URL: https://svnweb.freebsd.org/changeset/ports/508170 Log: misc/libsweep-lidar: fix build with GCC architectures This needs c++11 compiler. GCC from ports doesn't support -Weverything. PR: 239332 Approved by: hyun@caffeinated.codes (maintainer), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D21145 Added: head/misc/libsweep-lidar/files/patch-libsweep_CMakeLists.txt (contents, props changed) Modified: head/misc/libsweep-lidar/Makefile Modified: head/misc/libsweep-lidar/Makefile ============================================================================== --- head/misc/libsweep-lidar/Makefile Mon Aug 5 13:31:45 2019 (r508169) +++ head/misc/libsweep-lidar/Makefile Mon Aug 5 13:53:19 2019 (r508170) @@ -11,9 +11,7 @@ COMMENT= Low-level Scanse Sweep LiDAR library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_powerpc64= fails to compile: unrecognized command line option "-Weverything" - -USES= cmake +USES= cmake compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= scanse GH_PROJECT= sweep-sdk Added: head/misc/libsweep-lidar/files/patch-libsweep_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsweep-lidar/files/patch-libsweep_CMakeLists.txt Mon Aug 5 13:53:19 2019 (r508170) @@ -0,0 +1,11 @@ +--- libsweep/CMakeLists.txt.orig 2019-07-20 09:46:23 UTC ++++ libsweep/CMakeLists.txt +@@ -19,7 +19,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") + set(libsweep_OS unix) + + elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Weverything -fvisibility=hidden -fPIC -fno-rtti") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fvisibility=hidden -fPIC -fno-rtti") + set(libsweep_OS unix) + + elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")