Skip to content
Permalink
Browse files

gcc 4.0 fix

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@14435 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
tobypeterson committed Oct 6, 2005
1 parent 0ef313f commit f745e831750eb51a7a593c78aa08e80b44c998d9
Showing with 13 additions and 2 deletions.
  1. +2 −2 devel/prcs/Portfile
  2. +11 −0 devel/prcs/files/patch-src__rebuild.cc
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.1 2004/12/23 02:56:45 toby Exp $
# $Id: Portfile,v 1.2 2005/10/06 04:55:35 toby Exp $

PortSystem 1.0
name prcs
@@ -16,6 +16,6 @@ homepage http://prcs.sourceforge.net/
platforms darwin
master_sites sourceforge
checksums md5 057a0e243828104d0e672ec1cbf3fea0
patchfiles patch-src__pcrserror.cc
patchfiles patch-src__pcrserror.cc patch-src__rebuild.cc
configure.args --infodir=${prefix}/share/info \
--mandir=${prefix}/share/man
@@ -0,0 +1,11 @@
--- src/rebuild.cc.orig 2005-10-05 21:43:35.000000000 -0700
+++ src/rebuild.cc 2005-10-05 21:43:36.000000000 -0700
@@ -1003,7 +1003,7 @@
buf->pubseekoff(0, ios::end, ios::out);
#else
buf = new __gnu_cxx::stdio_filebuf<char> (seg->fd(), ios::out,
- false /* close */, default_segment_size);
+ default_segment_size);
buf->pubseekoff(0, ios::end, ios::out);
#endif
os = new ostream(buf);

0 comments on commit f745e83

Please sign in to comment.
You can’t perform that action at this time.