mail-filter/libsrs_alt-1.0-r1: really do apply patches

Bug: https://bugs.gentoo.org/778575
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen
2021-05-04 21:39:09 +02:00
parent 15a977e7c6
commit efe4921e86

View File

@@ -20,12 +20,10 @@ IUSE="static-libs"
RDEPEND="!dev-perl/Mail-SRS"
PATCHES=(
"${FILESDIR}"/${P}-ftime.patch
"${FILESDIR}"/${P}-link-fix.patch
)
src_prepare() {
eapply "${FILESDIR}"/${P}-ftime.patch
eapply "${FILESDIR}"/${P}-link-fix.patch
# add missing header
sed -i -e '/timeb.h>/ a #include <stdlib.h>' test.c