Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 00:51:23 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346585 - in head/devel/p5-Algorithm-SVM: . files
Message-ID:  <201403010051.s210pNIr077399@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Mar  1 00:51:22 2014
New Revision: 346585
URL: http://svnweb.freebsd.org/changeset/ports/346585
QAT: https://qat.redports.org/buildarchive/r346585/

Log:
  - Fix build on 10.x

Added:
  head/devel/p5-Algorithm-SVM/files/
  head/devel/p5-Algorithm-SVM/files/patch-bindings.cpp   (contents, props changed)
Modified:
  head/devel/p5-Algorithm-SVM/Makefile

Modified: head/devel/p5-Algorithm-SVM/Makefile
==============================================================================
--- head/devel/p5-Algorithm-SVM/Makefile	Sat Mar  1 00:14:57 2014	(r346584)
+++ head/devel/p5-Algorithm-SVM/Makefile	Sat Mar  1 00:51:22 2014	(r346585)
@@ -12,6 +12,6 @@ COMMENT=	Perl bindings for the libsvm Su
 
 USES=		perl5
 USE_PERL5=	configure
-CC=		c++
+CC=		${CXX}
 
 .include <bsd.port.mk>

Added: head/devel/p5-Algorithm-SVM/files/patch-bindings.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Algorithm-SVM/files/patch-bindings.cpp	Sat Mar  1 00:51:22 2014	(r346585)
@@ -0,0 +1,9 @@
+--- bindings.cpp.orig	2008-01-23 00:14:34.000000000 +0300
++++ bindings.cpp	2014-03-01 04:05:30.166745426 +0400
+@@ -1,5 +1,6 @@
+ #include "bindings.h"
+ #include <errno.h>
++#include <cstdlib>
+ 
+ #ifdef DEBUG
+ #include <stdarg.h>



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