aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-05-15 19:55:12 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-05-15 19:55:12 +0000
commit1db92475f59c5ef945fcf77a7a0adb80545eaab5 (patch)
tree1c98758afb1da3b5fa3022d80df863be7ed990cf
parent2ee7b1f04783ac9885566a240d2659abc4689a30 (diff)
downloadports-1db92475f59c5ef945fcf77a7a0adb80545eaab5.tar.gz
ports-1db92475f59c5ef945fcf77a7a0adb80545eaab5.zip
Notes
-rw-r--r--cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx b/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx
index 1d78f9bb718e..a2ec473bd88e 100644
--- a/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx
+++ b/cad/opencascade/files/patch-inc_Standard_CLocaleSentry.hxx
@@ -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