dev-db/libzdb: drop lexicographical comparison, bug #705244
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 18 Feb 2020 13:57:41 +0000 (13:57 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 18 Feb 2020 13:58:10 +0000 (13:58 +0000)
Closes: https://bugs.gentoo.org/705244
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-db/libzdb/libzdb-3.1-r1.ebuild
dev-db/libzdb/libzdb-3.1.ebuild

index 13b086bcda5888d44e5355d86ca88928862f4fd4..b3ba017bb1ad92bb950bf6f31289ba2e16179935 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -36,11 +36,8 @@ src_configure() {
        ## TODO: check what --enable-optimized actually does
        ## TODO: find someone with oracle db to add oci8 support
        myconf=""
-       if  [[ $(gcc-version) < 4.1 ]];then
-               myconf="${myconf} --disable-protected"
-       else
-               myconf="${myconf} --enable-protected"
-       fi
+       # enable default hidden visibility
+       myconf="${myconf} --enable-protected"
 
        if use sqlite; then
                myconf="${myconf} --with-sqlite=${EPREFIX}/usr/ --enable-sqliteunlock"
index 21ce5f4ef1c1ceaa9615165dc70bd99843657d60..caa64e3ef38f067480059613a7d1d6a383401c22 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -33,11 +33,8 @@ src_configure() {
        ## TODO: check what --enable-optimized actually does
        ## TODO: find someone with oracle db to add oci8 support
        myconf=""
-       if  [[ $(gcc-version) < 4.1 ]];then
-               myconf="${myconf} --disable-protected"
-       else
-               myconf="${myconf} --enable-protected"
-       fi
+       # enable default hidden visibility
+       myconf="${myconf} --enable-protected"
 
        if use sqlite; then
                myconf="${myconf} --with-sqlite=${EPREFIX}/usr/ --enable-sqliteunlock"