diff options
author | Sam James <sam@gentoo.org> | 2022-11-04 05:05:16 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-04 05:05:16 +0000 |
commit | 344cd785d060dc5d86d791416116cf5d4f89fbcb (patch) | |
tree | f52adc6d36884e5d2e5e7d9dd913e9e29817cd2e /dev-libs/kpathsea | |
parent | media-gfx/sane-backends: add gitlab upstream metadata (diff) | |
download | gentoo-344cd785d060dc5d86d791416116cf5d4f89fbcb.tar.gz gentoo-344cd785d060dc5d86d791416116cf5d4f89fbcb.tar.bz2 gentoo-344cd785d060dc5d86d791416116cf5d4f89fbcb.zip |
dev-libs/kpathsea: fix configure w/ clang 16
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/kpathsea')
-rw-r--r-- | dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch | 12 | ||||
-rw-r--r-- | dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild (renamed from dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild) | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch new file mode 100644 index 000000000000..ad8dc0e33342 --- /dev/null +++ b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch @@ -0,0 +1,12 @@ +diff --git a/configure b/configure +index be42b2e..6a7efb0 100755 +--- a/configure ++++ b/configure +@@ -13920,6 +13920,7 @@ else + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ ++#include <stdlib.h> + int fork() { exit(1); } + int vfork() { exit(1); } + extern char *getcwd(); diff --git a/dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild b/dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild index 43a961e05eb2..45e773f12628 100644 --- a/dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild +++ b/dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild @@ -35,6 +35,10 @@ SRC_URI="${SRC_URI} ) " TEXMF_PATH=/usr/share/texmf-dist +PATCHES=( + "${FILESDIR}"/${PN}-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch +) + src_prepare() { default cd "${WORKDIR}/texlive-${PV#*_p}-source" || die |