svn commit: r328997 - head/devel/libopkele/files
John Marino
marino at FreeBSD.org
Tue Oct 1 21:27:50 UTC 2013
Author: marino
Date: Tue Oct 1 21:27:49 2013
New Revision: 328997
URL: http://svnweb.freebsd.org/changeset/ports/328997
Log:
devel/libopkele: add <unistd.h> and other C++ fixes for modern compilers
Approved by: portmgr (bapt, implicit)
Added:
head/devel/libopkele/files/
head/devel/libopkele/files/patch-include_opkele_discovery.h (contents, props changed)
head/devel/libopkele/files/patch-test_idiscover.cc (contents, props changed)
head/devel/libopkele/files/patch-test_test.cc (contents, props changed)
Added: head/devel/libopkele/files/patch-include_opkele_discovery.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libopkele/files/patch-include_opkele_discovery.h Tue Oct 1 21:27:49 2013 (r328997)
@@ -0,0 +1,11 @@
+--- include/opkele/discovery.h.orig 2008-06-25 20:50:26.000000000 +0000
++++ include/opkele/discovery.h
+@@ -21,7 +21,7 @@ namespace opkele {
+ public:
+
+ inline _DT& add(long priority,const _DT& d) {
+- return insert(typename map_type::value_type(priority,d))->second;
++ return this->insert(typename map_type::value_type(priority,d))->second;
+ }
+
+ bool has_value(const _DT& d) const {
Added: head/devel/libopkele/files/patch-test_idiscover.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libopkele/files/patch-test_idiscover.cc Tue Oct 1 21:27:49 2013 (r328997)
@@ -0,0 +1,10 @@
+--- test/idiscover.cc.orig 2008-06-25 20:50:26.000000000 +0000
++++ test/idiscover.cc
+@@ -2,6 +2,7 @@
+ #include <stdexcept>
+ #include <iterator>
+ #include <algorithm>
++#include <unistd.h>
+ using namespace std;
+ #include <opkele/exception.h>
+ #include <opkele/discovery.h>
Added: head/devel/libopkele/files/patch-test_test.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libopkele/files/patch-test_test.cc Tue Oct 1 21:27:49 2013 (r328997)
@@ -0,0 +1,9 @@
+--- test/test.cc.orig 2009-12-12 20:22:34.000000000 +0000
++++ test/test.cc
+@@ -1,5 +1,6 @@
+ #include <iostream>
+ #include <stdexcept>
++#include <unistd.h>
+ using namespace std;
+ #include <opkele/exception.h>
+ #include <opkele/util.h>
More information about the svn-ports-head
mailing list