svn commit: r410127 - in head/math/yacas: . files
Pietro Cerutti
gahr at FreeBSD.org
Fri Mar 4 15:13:17 UTC 2016
Author: gahr
Date: Fri Mar 4 15:13:16 2016
New Revision: 410127
URL: https://svnweb.freebsd.org/changeset/ports/410127
Log:
math/yacas: unbreak on 9. w/ gcc
Added:
head/math/yacas/files/
head/math/yacas/files/patch-src_mathcommands.cpp (contents, props changed)
head/math/yacas/files/patch-src_yacasmain.cpp (contents, props changed)
Modified:
head/math/yacas/Makefile
Modified: head/math/yacas/Makefile
==============================================================================
--- head/math/yacas/Makefile Fri Mar 4 15:02:50 2016 (r410126)
+++ head/math/yacas/Makefile Fri Mar 4 15:13:16 2016 (r410127)
@@ -3,8 +3,8 @@
PORTNAME= yacas
PORTVERSION= 1.4.0
-CATEGORIES= math
DISTVERSIONPREFIX= v
+CATEGORIES= math
MAINTAINER= gahr at FreeBSD.org
COMMENT= Yet Another Computer Algebra System
@@ -22,7 +22,7 @@ GH_ACCOUNT= grzegorzmazur
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == "gcc"
-CPPFLAGS+= -D_GLIBCXX_USE_C99
+CXXFLAGS+= -D_GLIBCXX_USE_C99
.endif
post-patch:
Added: head/math/yacas/files/patch-src_mathcommands.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/yacas/files/patch-src_mathcommands.cpp Fri Mar 4 15:13:16 2016 (r410127)
@@ -0,0 +1,10 @@
+--- src/mathcommands.cpp.orig 2016-02-04 14:54:05 UTC
++++ src/mathcommands.cpp
+@@ -23,6 +23,7 @@
+ #include "yacas/arggetter.h"
+ #include "yacas/string_utils.h"
+
++#include <string>
+ #include <cstring>
+ #include <limits.h>
+ #include <stdlib.h>
Added: head/math/yacas/files/patch-src_yacasmain.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/yacas/files/patch-src_yacasmain.cpp Fri Mar 4 15:13:16 2016 (r410127)
@@ -0,0 +1,10 @@
+--- src/yacasmain.cpp.orig 2016-03-04 15:08:05 UTC
++++ src/yacasmain.cpp
+@@ -72,6 +72,7 @@
+ #if defined (__FreeBSD__) || defined (__DragonFly__)
+ #include <stddef.h>
+ #include <unistd.h>
++#include <sys/syslimits.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+ #endif
More information about the svn-ports-head
mailing list