diff options
Diffstat (limited to 'media-libs/fidlib')
-rw-r--r-- | media-libs/fidlib/Manifest | 3 | ||||
-rw-r--r-- | media-libs/fidlib/fidlib-0.9.10-r1.ebuild | 14 | ||||
-rw-r--r-- | media-libs/fidlib/files/fidlib-0.9.10-Add-missing-unistd.h-include.patch | 15 |
3 files changed, 20 insertions, 12 deletions
diff --git a/media-libs/fidlib/Manifest b/media-libs/fidlib/Manifest index 4110998e99fd..86757b6bcc81 100644 --- a/media-libs/fidlib/Manifest +++ b/media-libs/fidlib/Manifest @@ -1,4 +1,5 @@ +AUX fidlib-0.9.10-Add-missing-unistd.h-include.patch 444 BLAKE2B cf342cb40f509457ab36fe251dc174b4525f78bddf84e1295814ed188875c9ab7fea224dab15ba69b93163efd01dc26cd35427db28c70f9e3ab401a3fb3e96b0 SHA512 bdbb16990886896cefc10de27590994adef972ee551e3a46be85ad0cb154c7340a4dc0930a6b7c9fb1385809313236b542f840369ec50170b94eeb821d4181f1 AUX fidlib-0.9.10-extern.patch 501 BLAKE2B 883d3914412ba50429a5fd0e607effbfa477e4e806d7f820ed1afdc4e11d18315602dc70271888a15072f2b21ff21dbc00cb5c24240a9bc9f56d1084ba4dafb1 SHA512 b49c6fd88d59b82fdcf96692e4ce1abfccf7209c9ce0757e8111e7a5c66b4d56558999dde2b3e1e017c87bd662e22edd9bb3aed827f12f94429eba4fd37c7c96 DIST fidlib-0.9.10.tgz 87082 BLAKE2B 1a8c2c9abaf1d8d0855466af2c3243a4253f505b488822852d49c702f0904beb599bfa7a023d4be925d1d245b8357ebef05dd6c4051bdc9c9c3eeae96bbf0b46 SHA512 77600acd665407b4d786b406a4f20b2f6c30c74775f5777d5054420b80c74e5bfa316bf7bd90df1669c09cef0ff9b552a0338cd138bf7d9bcf1df7cbff9fea4b -EBUILD fidlib-0.9.10-r1.ebuild 1066 BLAKE2B abe01c69c666ee37484f5264b576c579a85faf3e183d13ba2caa3609a15e917a0dab150362ebf5041a936fedb0bf34e0d4d1e5305356ff09098d5f10c058d2f1 SHA512 01a7cd143899a543ef244b39d992807fc5d4d9b8214b10c5420e48d82916a80694de9a988ba99ebb9e4a98100efda205671f10e24408c1c2985cf0725e931e8d +EBUILD fidlib-0.9.10-r1.ebuild 945 BLAKE2B f095d8a5938e7e7ed101dbfc29953df4ab937b1bd8a48ec73adc052a206de59b96d16e58b23155226e16b514cbfe0fc89c3b2376ff5f5aec6f9b0057238c266c SHA512 341b6f3f322adf98648409e8e3c03f4a8d237e5a595aa3cf851856aa47ceb103d69e493826bb69cf3f811e309225957ddd3ff76e1e847df3d555fe6e5e56a976 MISC metadata.xml 266 BLAKE2B ca23b48703283ee907c17267dae8c0f40748e75a7ab7217981a5a81a39c28797966c43265fb0b9dce0b0acf6c79dde5826cf30eb3ca1ec808e96e790d4c554d3 SHA512 d91b69020930a0f557b96c72c89a0881c573da762dbb53dd6fb96e77bba0adbec787b75286ee3e5a62a34e3fa6913c742fa22f99c17d4a3e466e8be05009a6c3 diff --git a/media-libs/fidlib/fidlib-0.9.10-r1.ebuild b/media-libs/fidlib/fidlib-0.9.10-r1.ebuild index f1ded950cbab..750558152e41 100644 --- a/media-libs/fidlib/fidlib-0.9.10-r1.ebuild +++ b/media-libs/fidlib/fidlib-0.9.10-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit edo flag-o-matic toolchain-funcs +inherit edo toolchain-funcs DESCRIPTION="Run-time filter design and execution library" HOMEPAGE="http://uazu.net/fidlib/" @@ -15,17 +15,9 @@ KEYWORDS="amd64 x86" PATCHES=( "${FILESDIR}"/${P}-extern.patch + "${FILESDIR}"/${PN}-0.9.10-Add-missing-unistd.h-include.patch ) -src_prepare() { - default - - # Avoid ICE under gcc-4.6, fixed in 4.6.3 - if [[ $(gcc-version) == "4.6" && $(gcc-micro-version) -le 2 ]] ; then - replace-flags -O? -O0 - fi -} - src_compile() { # build library edo $(tc-getCC) ${CFLAGS} -DT_LINUX ${LDFLAGS} -Wl,-soname,libfidlib.so.${PV:0:1} \ diff --git a/media-libs/fidlib/files/fidlib-0.9.10-Add-missing-unistd.h-include.patch b/media-libs/fidlib/files/fidlib-0.9.10-Add-missing-unistd.h-include.patch new file mode 100644 index 000000000000..2a4ae2d09ea7 --- /dev/null +++ b/media-libs/fidlib/files/fidlib-0.9.10-Add-missing-unistd.h-include.patch @@ -0,0 +1,15 @@ +From ffe98aaaef253621d71b73b3a0e54813d220ece9 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Fri, 30 Sep 2022 01:54:08 +0100 +Subject: [PATCH] Add missing unistd.h include + +--- a/firun.c ++++ b/firun.c +@@ -58,6 +58,7 @@ NL " -L Ignore following arguments, display list of filter types." + #include <ctype.h> + #include <math.h> + #include <errno.h> ++#include <unistd.h> + #include "fidlib.h" + + typedef unsigned char uchar; |