svn commit: r483254 - in head/math/gringo: . files
Mark Linimon
linimon at FreeBSD.org
Sun Oct 28 09:49:52 UTC 2018
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 {
+
More information about the svn-ports-head
mailing list