Date: Mon, 8 Sep 2003 02:17:34 -0700 (PDT) From: Edwin Groothuis <edwin@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/devel/spirit/files patch-boost::spirit::impl::primitives.ipp Message-ID: <200309080917.h889HYk9045996@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
edwin 2003/09/08 02:17:34 PDT FreeBSD ports repository Added files: devel/spirit/files patch-boost::spirit::impl::primitives.ipp Log: [patch] fix port devel/spirit FreeBSD implements the is* functions already correctly, but this is not recognized with gcc 3.3.1. The proposed patch changes this behaviour. Code in question (gcc 3.3.1 does not seem to define _STLPORT_VERSION, whereas gcc 2.95.4 did): #if defined(_MSC_VER) || _STLPORT_VERSION >= 0x450 // is* functions already setup #else #ifndef isalnum inline bool isalnum(int c) { return std::isalnum(c); } #endif #ifndef isalpha inline bool isalpha(int c) { return std::isalpha(c); } #endif PR: ports/55783 Submitted by: Simon Barner <barner@in.tum.de> Revision Changes Path 1.1 +12 -0 ports/devel/spirit/files/patch-boost::spirit::impl::primitives.ipp (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309080917.h889HYk9045996>