commit:     422d70a744d3b4a1947f0f6b07c3fd4f1b2b0fe8
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 22 11:35:22 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 11:37:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=422d70a7

sci-libs/opencascade: Drop xlocale.h include.

Bug: https://bugs.gentoo.org/610362
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-libs/opencascade/opencascade-6.9.1-r2.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sci-libs/opencascade/opencascade-6.9.1-r2.ebuild 
b/sci-libs/opencascade/opencascade-6.9.1-r2.ebuild
index 5b581add74b..4a855150295 100644
--- a/sci-libs/opencascade/opencascade-6.9.1-r2.ebuild
+++ b/sci-libs/opencascade/opencascade-6.9.1-r2.ebuild
@@ -117,6 +117,12 @@ TCL_LIBRARY=${my_sys_lib}/tcl$(grep TCL_VER 
/usr/include/tcl.h | sed 's/^.*"\(.*
                -e "/\$qt directory is not 
exists/s/AC_MSG_ERROR/AC_MSG_NOTICE/" \
                -i configure.ac || die
 
+       # no longer needed https://tracker.dev.opencascade.org/view.php?id=28971
+       if has_version >=sys-libs/glibc-2.26 ; then
+               sed -e '/#include <xlocale.h>/d' \
+                       -i inc/Standard_CLocaleSentry.hxx || die
+       fi
+
        eautoreconf
 }
 

Reply via email to