svn commit: r346585 - in head/devel/p5-Algorithm-SVM: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Mar 1 00:51:23 UTC 2014


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>


More information about the svn-ports-all mailing list