dev-libs/libcdio-paranoia: Re-enable symbol versions, #616054
authorMichał Górny <mgorny@gentoo.org>
Tue, 9 May 2017 06:31:30 +0000 (08:31 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 11 May 2017 12:44:08 +0000 (14:44 +0200)
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

dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1-r1.ebuild [moved from dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p1.ebuild with 85% similarity]

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 0d3440ba008a53c0a0b036a21da906172114b22d..7075f83d7a6ac407e08a0f413313e6388c51c9d3 100644 (file)
@@ -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[@]}"
 }