mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Unbreak build
PR: 169505 Submitted by: Gea-Suan Lin <gslin@gslin.org> Approved by: maintainer
This commit is contained in:
parent
c4b4de4392
commit
5348ba2904
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302069
@ -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 @@ RUN_DEPENDS= p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \
|
||||
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}
|
||||
|
11
net/scribe/files/patch-src-file.cpp
Normal file
11
net/scribe/files/patch-src-file.cpp
Normal file
@ -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) {
|
Loading…
Reference in New Issue
Block a user