sys-apps/file: Add missing gl_VISIBILITY macro in configure script
[gentoo.git] / sys-apps / file / file-5.33-r3.ebuild
similarity index 93%
rename from sys-apps/file/file-5.33-r2.ebuild
rename to sys-apps/file/file-5.33-r3.ebuild
index e67df7bc93a5c66cb1ad048bc42d772ddff5f7a5..e9203f385ff5071b606b7d71c544f1ac1245a852 100644 (file)
@@ -33,11 +33,17 @@ DEPEND="
 RDEPEND="${DEPEND}
        python? ( !dev-python/python-magic )"
 
-PATCHES=( "${FILESDIR}"/${P}-CVE-2018-10360.patch )
+PATCHES=(
+       "${FILESDIR}"/${P}-CVE-2018-10360.patch
+       "${FILESDIR}"/${P}-gl_VISIBILITY-macro.patch
+)
 
 src_prepare() {
        default
 
+       # We are patching configure script so fix timestamp to avoid autoreconf
+       touch -r compile configure
+
        [[ ${PV} == "9999" ]] && eautoreconf
        elibtoolize