summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-12-22 12:35:22 +0100
committerMichael Weber <xmw@gentoo.org>2017-12-22 12:37:35 +0100
commit422d70a744d3b4a1947f0f6b07c3fd4f1b2b0fe8 (patch)
tree452f17796db78384a30e0269ba07288050c60295 /sci-libs/opencascade
parentnet-p2p/qbittorrent: version bump 4.0.3 (diff)
downloadgentoo-422d70a744d3b4a1947f0f6b07c3fd4f1b2b0fe8.tar.gz
gentoo-422d70a744d3b4a1947f0f6b07c3fd4f1b2b0fe8.tar.bz2
gentoo-422d70a744d3b4a1947f0f6b07c3fd4f1b2b0fe8.zip
sci-libs/opencascade: Drop xlocale.h include.
Bug: https://bugs.gentoo.org/610362 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-libs/opencascade')
-rw-r--r--sci-libs/opencascade/opencascade-6.9.1-r2.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sci-libs/opencascade/opencascade-6.9.1-r2.ebuild b/sci-libs/opencascade/opencascade-6.9.1-r2.ebuild
index 5b581add74bf..4a855150295d 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
}