Hi,

> > -    ifstream fin( path );
> > +    std::ifstream fin( path );

> A much smaller patch could be produced with
> 
>   using namespace std;
> 
> as appropriate.
> 
> Have you checked with the upstream author to see which approach is
> likely to be rolled into the distribution?

Actually, upgrading the port to the lastest freefem version would have
been enough *doh* :o) (patch attached)

To answer your question: the freefem authors decided not to use the
'using namespace std' approach.

Cheers,
 Simon
--- Makefile.orig       Thu Jun  5 01:41:14 2003
+++ Makefile    Mon Jul 21 00:42:53 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      freefem
-PORTVERSION=   3.5.4
+PORTVERSION=   3.5.7
 CATEGORIES=    math cad
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=    kfem
@@ -24,10 +24,6 @@
 MAN1=          freefem.1
 
 .include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN=         "Does not compile (bad C++ code)"
-.endif
 
 post-patch:
        @${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
--- distinfo.orig       Tue Mar 26 17:04:16 2002
+++ distinfo    Mon Jul 21 00:38:13 2003
@@ -1 +1 @@
-MD5 (freefem-3.5.4.tar.gz) = 746fe6487085011493a805e23507ae30
+MD5 (freefem-3.5.7.tar.gz) = e8f22515ab56f8e79fb789a11f8d4bef

Attachment: signature.asc
Description: Digital signature

Reply via email to