From owner-svn-ports-head@FreeBSD.ORG Sat Oct 18 14:38:07 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96B0F6F7; Sat, 18 Oct 2014 14:38:07 +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 68B82614; Sat, 18 Oct 2014 14:38:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9IEc7eY075124; Sat, 18 Oct 2014 14:38:07 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9IEc6th075122; Sat, 18 Oct 2014 14:38:06 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201410181438.s9IEc6th075122@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sat, 18 Oct 2014 14:38:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371128 - head/cad/opencascade/files 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: Sat, 18 Oct 2014 14:38:07 -0000 Author: thierry Date: Sat Oct 18 14:38:06 2014 New Revision: 371128 URL: https://svnweb.freebsd.org/changeset/ports/371128 QAT: https://qat.redports.org/buildarchive/r371128/ Log: Fix build on FreeBSD-8.4. Added: head/cad/opencascade/files/patch-src_Standard_Standard_CString.cxx (contents, props changed) Modified: head/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx Modified: head/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx ============================================================================== --- head/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx Sat Oct 18 14:32:51 2014 (r371127) +++ head/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx Sat Oct 18 14:38:06 2014 (r371128) @@ -5,7 +5,7 @@ //! since POSIX didn't declared such identifier. //! We check _GNU_SOURCE for glibc extensions here and it is always defined by g++ compiler. -#if defined(__APPLE__) || defined(_GNU_SOURCE) || defined(HAVE_XLOCALE_H) -+#if defined(__APPLE__) || defined(_GNU_SOURCE) || (defined(__FreeBSD__) && (__FreeBSD_version < 910000)) || defined(HAVE_XLOCALE_H) ++#if defined(__APPLE__) || defined(_GNU_SOURCE) || (defined(__FreeBSD__) && (__FreeBSD_version > 910000)) || defined(HAVE_XLOCALE_H) #include #ifndef HAVE_XLOCALE_H #define HAVE_XLOCALE_H Added: head/cad/opencascade/files/patch-src_Standard_Standard_CString.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/opencascade/files/patch-src_Standard_Standard_CString.cxx Sat Oct 18 14:38:06 2014 (r371128) @@ -0,0 +1,11 @@ +--- src/Standard/Standard_CString.cxx.orig 2014-04-29 11:40:41.000000000 +0200 ++++ src/Standard/Standard_CString.cxx 2014-10-18 16:05:36.000000000 +0200 +@@ -94,7 +94,7 @@ + // So we switch to C locale temporarily + #define SAVE_TL() Standard_CLocaleSentry aLocaleSentry; + #ifndef HAVE_XLOCALE_H +- #error System does not support xlocale. Import/export could be broken if C locale did not specified by application. ++ // #error System does not support xlocale. Import/export could be broken if C locale did not specified by application. + #define strtod_l(thePtr, theNextPtr, theLocale) strtod(thePtr, theNextPtr) + #endif + #define vprintf_l(theLocale, theFormat, theArgPtr) vprintf(theFormat, theArgPtr)