svn commit: r354172 - head/cad/opencascade/files

Thierry Thomas thierry at FreeBSD.org
Thu May 15 19:55:13 UTC 2014


Author: thierry
Date: Thu May 15 19:55:12 2014
New Revision: 354172
URL: http://svnweb.freebsd.org/changeset/ports/354172
QAT: https://qat.redports.org/buildarchive/r354172/

Log:
  There is no xlocale in 8.4.
  
  Reported by:	pkg-fallout

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	Thu May 15 19:37:46 2014	(r354171)
+++ head/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx	Thu May 15 19:55:12 2014	(r354172)
@@ -1,11 +1,11 @@
---- ./inc/Standard_CLocaleSentry.hxx.orig	2014-04-29 11:40:41.000000000 +0200
-+++ ./inc/Standard_CLocaleSentry.hxx	2014-05-04 14:42:56.000000000 +0200
+--- inc/Standard_CLocaleSentry.hxx.orig	2014-04-29 11:40:41.000000000 +0200
++++ inc/Standard_CLocaleSentry.hxx	2014-05-15 21:33:15.000000000 +0200
 @@ -25,7 +25,7 @@
  //! Notice that this is impossible to test (_POSIX_C_SOURCE >= 200809L)
  //! 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__) || defined(HAVE_XLOCALE_H)
++#if defined(__APPLE__) || defined(_GNU_SOURCE) || (defined(__FreeBSD__) && (__FreeBSD_version < 910000)) || defined(HAVE_XLOCALE_H)
    #include <xlocale.h>
    #ifndef HAVE_XLOCALE_H
      #define HAVE_XLOCALE_H


More information about the svn-ports-all mailing list