Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2018 09:49:51 +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: r483254 - in head/math/gringo: . files
Message-ID:  <201810280949.w9S9npmD042238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sun Oct 28 09:49:51 2018
New Revision: 483254
URL: https://svnweb.freebsd.org/changeset/ports/483254

Log:
  Unbreak on powerpc64.
  
  PR:		231722
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Added:
  head/math/gringo/files/patch-libgringo_src_term.cc   (contents, props changed)
Modified:
  head/math/gringo/Makefile

Modified: head/math/gringo/Makefile
==============================================================================
--- head/math/gringo/Makefile	Sun Oct 28 09:45:57 2018	(r483253)
+++ head/math/gringo/Makefile	Sun Oct 28 09:49:51 2018	(r483254)
@@ -3,8 +3,8 @@
 
 PORTNAME=	gringo
 DISTVERSION=	4.5.4
-PORTREVISION=	1
 DISTVERSIONSUFFIX=	-source
+PORTREVISION=	1
 CATEGORIES=	math devel
 MASTER_SITES=	SOURCEFORGE/potassco/${PORTNAME}/${PORTVERSION}
 
@@ -15,8 +15,6 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	re2c:devel/re2c
-
-BROKEN_powerpc64=	fails to compile: term.cc: error: pow is not a member of std
 
 USES=		bison compiler:c++11-lib python:2.7 scons
 MAKE_ARGS=	${MAKE_ENV}

Added: head/math/gringo/files/patch-libgringo_src_term.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/gringo/files/patch-libgringo_src_term.cc	Sun Oct 28 09:49:51 2018	(r483254)
@@ -0,0 +1,10 @@
+--- libgringo/src/term.cc.orig	2018-09-25 16:02:56 UTC
++++ libgringo/src/term.cc
+@@ -21,6 +21,7 @@
+ #include "gringo/term.hh"
+ #include "gringo/logger.hh"
+ #include "gringo/graph.hh"
++#include <cmath>
+ 
+ namespace Gringo {
+ 



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