From owner-freebsd-ports@FreeBSD.ORG Wed Jul 23 06:18:21 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E5B237B401; Wed, 23 Jul 2003 06:18:21 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D83243FA3; Wed, 23 Jul 2003 06:18:20 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id EB818388BB; Wed, 23 Jul 2003 15:18:18 +0200 (CEST) Date: Wed, 23 Jul 2003 15:18:18 +0200 From: Simon Barner To: Kris Kennaway Message-ID: <20030723131818.GJ566@zi025.glhnet.mhn.de> References: <20030718025200.GA36893@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HywJcj55HbA57jnN" Content-Disposition: inline In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: ports@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures -- fix for textproc/xmlpp X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 13:18:21 -0000 --HywJcj55HbA57jnN Content-Type: multipart/mixed; boundary="//h4sZKAxcnndsN6" Content-Disposition: inline --//h4sZKAxcnndsN6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --//h4sZKAxcnndsN6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="Makefile.patch" Content-Transfer-Encoding: quoted-printable --- Makefile.orig Wed Jul 23 04:08:36 2003 +++ Makefile Wed Jul 23 04:09:11 2003 @@ -21,12 +21,9 @@ =20 .include =20 -.if ${OSVERSION} >=3D 500113 -BROKEN=3D "Does not compile (bad C++ code)" -.endif - pre-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|/usr/local/share|$$(datadir)|g' + @${RM} ${WRKSRC}/config.cache =20 .include --//h4sZKAxcnndsN6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-src::xmlcommon.h" Content-Transfer-Encoding: quoted-printable --- src/xmlcommon.h.orig Wed Jul 23 04:10:04 2003 +++ src/xmlcommon.h Wed Jul 23 04:12:03 2003 @@ -20,6 +20,8 @@ =20 //! dummy define =20 #define XMLPP_API + +using std::string; =20 //! handle to a tagname string in a tagname map typedef int xmltagnamehandle; --//h4sZKAxcnndsN6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-src::xmlpp.cpp" Content-Transfer-Encoding: quoted-printable --- ./src/xmlpp.cpp.orig Wed Jul 23 04:12:52 2003 +++ ./src/xmlpp.cpp Wed Jul 23 04:13:52 2003 @@ -21,6 +21,12 @@ //debug #include =20 +using std::cout; +using std::cerr; +using std::endl; +using std::ifstream; +using std::ofstream; + namespace xmlpp { =20 // internal use for saving --//h4sZKAxcnndsN6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-src::xmltokenizer.cpp" Content-Transfer-Encoding: quoted-printable --- src/xmltokenizer.cpp.orig Wed Jul 23 04:14:53 2003 +++ src/xmltokenizer.cpp Wed Jul 23 04:29:18 2003 @@ -15,7 +15,7 @@ // needed includes #include "xmlpp.h" #include "xmltokenizer.h" - +#include =20 // namespace declaration namespace xmlpp { --//h4sZKAxcnndsN6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-test::nodetest.cpp" Content-Transfer-Encoding: quoted-printable --- test/nodetest.cpp.orig Wed Jul 23 04:18:02 2003 +++ test/nodetest.cpp Wed Jul 23 04:19:01 2003 @@ -5,6 +5,7 @@ */=0D =0D #include =0D +#include =0D #include "xmlpp.h"=0D =0D using namespace xmlpp;=0D --//h4sZKAxcnndsN6-- --HywJcj55HbA57jnN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/HosaCkn+/eutqCoRAvfPAKCS/DnszR5PgskzQGF5mMFm4KqlBQCeM8en JQAbA0cjsOQMqDtUMZjMav8= =xm8j -----END PGP SIGNATURE----- --HywJcj55HbA57jnN--