commit:     401ad843933dfd86d083bf23eba722551d514893
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May  9 06:31:30 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 11 12:44:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=401ad843

dev-libs/libcdio-paranoia: Re-enable symbol versions, #616054

Re-enable ld symbol versioning that has been accidentally disabled
by default upstream, as a result of OSX compatibility fixing. This
restores the previous ABI and fixes breakage when upgrading.

Closes: https://github.com/gentoo/gentoo/pull/4582

 ...-paranoia-0.94_p1.ebuild => libcdio-paranoia-0.94_p1-r1.ebuild} | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1.ebuild 
b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild
similarity index 85%
rename from dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1.ebuild
rename to dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild
index 0d3440ba008..7075f83d7a6 100644
--- a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1.ebuild
+++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild
@@ -47,9 +47,14 @@ multilib_src_configure() {
                $(use_enable cxx)
                --disable-cpp-progs
                --with-cd-paranoia-name=libcdio-paranoia
+               # upstream accidentally default-disabled it
+               # reenable it to preserve ABI compat with previous versions
+               # https://bugs.gentoo.org/616054
+               # https://savannah.gnu.org/bugs/index.php?50978
+               --enable-ld-version-script
        )
        # Darwin linker doesn't get this
-       [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --without-versioned-libs )
+       [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( 
--disable-ld-version-script )
        ECONF_SOURCE="${S}" \
        econf "${myeconfargs[@]}"
 }

Reply via email to