Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2019 16:08:54 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r497161 - in head/sysutils/facter: . files
Message-ID:  <201903291608.x2TG8s9r002608@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Mar 29 16:08:54 2019
New Revision: 497161
URL: https://svnweb.freebsd.org/changeset/ports/497161

Log:
  lib/inc/internal/util/freebsd/geom.hpp needs to include stdexcept to
  build on GCC-based architectures.
  
  PR:		235601
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Added:
  head/sysutils/facter/files/patch-lib_inc_internal_util_freebsd_geom.hpp   (contents, props changed)
Modified:
  head/sysutils/facter/Makefile

Modified: head/sysutils/facter/Makefile
==============================================================================
--- head/sysutils/facter/Makefile	Fri Mar 29 16:03:39 2019	(r497160)
+++ head/sysutils/facter/Makefile	Fri Mar 29 16:08:54 2019	(r497161)
@@ -12,7 +12,6 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_DragonFly=	DragonFly is not supported upstream
-BROKEN_powerpc64=	fails to compile: collection.cc: 'stoi' was not declared in this scope
 
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libcurl.so:ftp/curl \
@@ -55,10 +54,4 @@ test: build
 	cd ${WRKSRC}/lib && bundle install --path vendor
 	cd ${CONFIGURE_WRKSRC} && ${MAKE_CMD} test
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${COMPILER_FEATURES:Mlibstdc++}
-BROKEN=		Build with system libstdc++ is unsupported
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Added: head/sysutils/facter/files/patch-lib_inc_internal_util_freebsd_geom.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/facter/files/patch-lib_inc_internal_util_freebsd_geom.hpp	Fri Mar 29 16:08:54 2019	(r497161)
@@ -0,0 +1,9 @@
+--- lib/inc/internal/util/freebsd/geom.hpp.orig	2019-02-08 14:24:43 UTC
++++ lib/inc/internal/util/freebsd/geom.hpp
+@@ -4,6 +4,7 @@
+  */
+ #pragma once
+ 
++#include <stdexcept>
+ #include <string>
+ #include <vector>



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