cvs commit: ports/devel/spirit/files
patch-boost::spirit::impl::primitives.ipp
Edwin Groothuis
edwin at FreeBSD.org
Mon Sep 8 02:17:35 PDT 2003
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 at in.tum.de>
Revision Changes Path
1.1 +12 -0 ports/devel/spirit/files/patch-boost::spirit::impl::primitives.ipp (new)
More information about the cvs-all
mailing list