Date: Mon, 5 Nov 2018 08:41:32 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484179 - in head/devel/heimdall: . files Message-ID: <201811050841.wA58fWr7024560@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Mon Nov 5 08:41:32 2018 New Revision: 484179 URL: https://svnweb.freebsd.org/changeset/ports/484179 Log: - Fix build with clang and remove dependency to gcc - Specify compiler dialect to fix build on some tier-2 archs (eg. ppc) PR: 227439 (related) Submitted by: danfe (via mail) Added: head/devel/heimdall/files/patch-libpit_source_libpit.h (contents, props changed) Modified: head/devel/heimdall/Makefile Modified: head/devel/heimdall/Makefile ============================================================================== --- head/devel/heimdall/Makefile Mon Nov 5 08:37:10 2018 (r484178) +++ head/devel/heimdall/Makefile Mon Nov 5 08:41:32 2018 (r484179) @@ -4,7 +4,7 @@ PORTNAME= heimdall PORTVERSION= 1.4.2 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= ehaupt@FreeBSD.org @@ -13,10 +13,8 @@ COMMENT= Tool suite used to flash firmware onto Samsun LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake +USES= compiler:c++11-lang cmake USE_GITHUB= yes -# does not compile with clang 6.0.0 -USE_GCC= yes OPTIONS_DEFINE= DOCS GUI OPTIONS_DEFAULT=GUI Added: head/devel/heimdall/files/patch-libpit_source_libpit.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/heimdall/files/patch-libpit_source_libpit.h Mon Nov 5 08:41:32 2018 (r484179) @@ -0,0 +1,17 @@ +--- libpit/source/libpit.h.orig 2017-05-11 18:34:25 UTC ++++ libpit/source/libpit.h +@@ -25,14 +25,6 @@ + #pragma warning(disable : 4996) + #endif + +-#if (!(defined _MSC_VER) || (_MSC_VER < 1700)) +- +-#ifndef nullptr +-#define nullptr 0 +-#endif +- +-#endif +- + // C/C++ Standard Library + #include <cstring> + #include <string>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811050841.wA58fWr7024560>