ports/169505: [PATCH] net/scribe: Fix build for boost 1.47+
Gea-Suan Lin
gslin at gslin.org
Thu Jun 28 04:50:10 UTC 2012
>Number: 169505
>Category: ports
>Synopsis: [PATCH] net/scribe: Fix build for boost 1.47+
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 28 04:50:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 8.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD colo-p.gslin.org 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:47:23 UTC
>Description:
- Fix build for boost 1.47+.
Added file(s):
- files/patch-src-file.cpp
Port maintainer (jnlin at csie.nctu.edu.tw) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- scribe-2.2.2012.01.07_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/scribe/Makefile ./Makefile
--- /usr/ports/net/scribe/Makefile 2012-05-31 06:07:56.000000000 +0800
+++ ./Makefile 2012-06-28 12:41:18.000000000 +0800
@@ -6,6 +6,7 @@
PORTNAME= scribe
DISTVERSION= 2.2.2012.01.07
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://github.com/facebook/scribe/tarball/${GITVERSION}/
DISTNAME= facebook-scribe-${GITVERSION}
@@ -21,8 +22,6 @@
p5-Thrift>0:${PORTSDIR}/devel/p5-Thrift \
${PYTHON_SITELIBDIR}/thrift/__init__.py:${PORTSDIR}/devel/py-thrift
-BROKEN= does not compile
-
GITVERSION= 63e4824
FETCH_ARGS= -pRr
WRKSRC= ${WRKDIR}/${DISTNAME}
diff -ruN --exclude=CVS /usr/ports/net/scribe/files/patch-src-file.cpp ./files/patch-src-file.cpp
--- /usr/ports/net/scribe/files/patch-src-file.cpp 1970-01-01 08:00:00.000000000 +0800
+++ ./files/patch-src-file.cpp 2012-06-28 12:42:52.000000000 +0800
@@ -0,0 +1,11 @@
+--- src/file.cpp.orig 2012-06-28 12:42:20.000000000 +0800
++++ src/file.cpp 2012-06-28 12:42:30.000000000 +0800
+@@ -245,7 +245,7 @@
+ boost::filesystem::directory_iterator dir_iter(path), end_iter;
+
+ for ( ; dir_iter != end_iter; ++dir_iter) {
+- _return.push_back(dir_iter->filename());
++ _return.push_back(dir_iter->path().filename().string());
+ }
+ }
+ } catch (const std::exception& e) {
--- scribe-2.2.2012.01.07_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list