From owner-svn-ports-head@FreeBSD.ORG Thu Oct 23 14:05:56 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E875D9D1; Thu, 23 Oct 2014 14:05:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BAA97B79; Thu, 23 Oct 2014 14:05:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9NE5uGR060133; Thu, 23 Oct 2014 14:05:56 GMT (envelope-from demon@FreeBSD.org) Received: (from demon@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9NE5upC060132; Thu, 23 Oct 2014 14:05:56 GMT (envelope-from demon@FreeBSD.org) Message-Id: <201410231405.s9NE5upC060132@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: demon set sender to demon@FreeBSD.org using -f From: Dmitry Sivachenko Date: Thu, 23 Oct 2014 14:05:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371396 - head/math/openfst X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 14:05:57 -0000 Author: demon Date: Thu Oct 23 14:05:56 2014 New Revision: 371396 URL: https://svnweb.freebsd.org/changeset/ports/371396 QAT: https://qat.redports.org/buildarchive/r371396/ Log: Use std::isspace instead of isspace to fix the following compile error in py-fst: In file included from fst/_fst.cpp:322: In file included from /usr/local/include/fst/fstlib.h:49: In file included from /usr/local/include/fst/fst.h:34: In file included from /usr/local/include/fst/arc.h:31: In file included from /usr/local/include/fst/power-weight.h:24: /usr/local/include/fst/tuple-weight.h:179:14: error: call to 'isspace' is ambiguous } while (isspace(c)); ^~~~~~~ /usr/include/ctype.h:57:5: note: candidate function int isspace(int); ^ /usr/include/c++/v1/cctype:125:38: note: candidate function inline _LIBCPP_INLINE_VISIBILITY int isspace(int __c) {return __libcpp_isspace(__c);} /usr/include/ctype.h:57:5: note: candidate function int isspace(int); ^ /usr/include/c++/v1/cctype:125:38: note: candidate function inline _LIBCPP_INLINE_VISIBILITY int isspace(int __c) {return __libcpp_isspace(__c);} Modified: head/math/openfst/Makefile Modified: head/math/openfst/Makefile ============================================================================== --- head/math/openfst/Makefile Thu Oct 23 14:03:56 2014 (r371395) +++ head/math/openfst/Makefile Thu Oct 23 14:05:56 2014 (r371396) @@ -3,7 +3,7 @@ PORTNAME= openfst PORTVERSION= 1.4.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MASTER_SITES= http://www.openfst.org/twiki/pub/FST/FstDownload/ @@ -19,5 +19,6 @@ CONFIGURE_ARGS+=--enable-compact-fsts -- post-patch: ${REINPLACE_CMD} -e s#-ldl## ${WRKSRC}/src/extensions/far/Makefile.in ${WRKSRC}/src/extensions/pdt/Makefile.in ${WRKSRC}/src/bin/Makefile.in ${WRKSRC}/src/test/Makefile.in ${WRKSRC}/src/extensions/linear/Makefile.in + ${REINPLACE_CMD} -e s#isspace#std::isspace# ${WRKSRC}/src/include/fst/tuple-weight.h ${WRKSRC}/src/include/fst/sparse-tuple-weight.h ${WRKSRC}/src/include/fst/pair-weight.h .include