svn commit: r302069 - in head/net/scribe: . files

Martin Wilke miwi at FreeBSD.org
Sun Aug 5 06:02:31 UTC 2012


Author: miwi
Date: Sun Aug  5 06:02:30 2012
New Revision: 302069
URL: http://svn.freebsd.org/changeset/ports/302069

Log:
  - Unbreak build
  
  PR:		169505
  Submitted by:	Gea-Suan Lin <gslin at gslin.org>
  Approved by:	maintainer

Added:
  head/net/scribe/files/patch-src-file.cpp   (contents, props changed)
Modified:
  head/net/scribe/Makefile   (contents, props changed)

Modified: head/net/scribe/Makefile
==============================================================================
--- head/net/scribe/Makefile	Sun Aug  5 06:00:35 2012	(r302068)
+++ head/net/scribe/Makefile	Sun Aug  5 06:02:30 2012	(r302069)
@@ -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:${PORTS
 		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}

Added: head/net/scribe/files/patch-src-file.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/scribe/files/patch-src-file.cpp	Sun Aug  5 06:02:30 2012	(r302069)
@@ -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) {



More information about the svn-ports-all mailing list