Bug 169505 - [PATCH] net/scribe: Fix build for boost 1.47+
Summary: [PATCH] net/scribe: Fix build for boost 1.47+
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-28 05:50 UTC by gslin
Modified: 2012-08-05 07:10 UTC (History)
1 user (show)

See Also:


Attachments
scribe-2.2.2012.01.07_1.patch (1.31 KB, patch)
2012-06-28 05:50 UTC, gslin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gslin 2012-06-28 05:50:09 UTC
- Fix build for boost 1.47+.

Added file(s):
- files/patch-src-file.cpp

Port maintainer (jnlin@csie.nctu.edu.tw) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-06-28 05:50:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-06-28 05:50:23 UTC
Maintainer of net/scribe,

Please note that PR ports/169505 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169505

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-06-28 05:50:25 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Jui-Nan Lin 2012-06-29 09:30:53 UTC
Hello,

Looks good. Please commit, thanks :)

On Thu, Jun 28, 2012 at 12:50 PM, Edwin Groothuis <edwin@freebsd.org> wrote=
:
> Maintainer of net/scribe,
>
> Please note that PR ports/169505 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
> =C2=A0 =C2=A0http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/169505
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2012-08-05 07:02:05 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-08-05 07:02:40 UTC
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@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) {
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"