summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-28 23:34:58 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-29 00:17:54 -0400
commit7f43eaea7734cbbf7cdf2dd82a0b0f8c3b872440 (patch)
tree81d15edbb92c0796ef0b35a14448f6ed01f7aa6d /dev-util
parentdev-util/ftjam: respect AR and RANLIB (diff)
downloadgentoo-7f43eaea7734cbbf7cdf2dd82a0b0f8c3b872440.tar.gz
gentoo-7f43eaea7734cbbf7cdf2dd82a0b0f8c3b872440.tar.bz2
gentoo-7f43eaea7734cbbf7cdf2dd82a0b0f8c3b872440.zip
dev-util/ftjam: fix build with clang16
Revbump unlikely to matter for other compilers, but doesn't hurt. Closes: https://bugs.gentoo.org/870655 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/ftjam/files/ftjam-2.5.3-clang16.patch7
-rw-r--r--dev-util/ftjam/ftjam-2.5.3_rc2-r3.ebuild (renamed from dev-util/ftjam/ftjam-2.5.3_rc2-r2.ebuild)1
2 files changed, 8 insertions, 0 deletions
diff --git a/dev-util/ftjam/files/ftjam-2.5.3-clang16.patch b/dev-util/ftjam/files/ftjam-2.5.3-clang16.patch
new file mode 100644
index 000000000000..5a6c6089b086
--- /dev/null
+++ b/dev-util/ftjam/files/ftjam-2.5.3-clang16.patch
@@ -0,0 +1,7 @@
+https://bugs.gentoo.org/870655
+--- a/jam.h
++++ b/jam.h
+@@ -382,2 +382,3 @@
+ # include <string.h>
++# include <unistd.h>
+ # include <time.h>
diff --git a/dev-util/ftjam/ftjam-2.5.3_rc2-r2.ebuild b/dev-util/ftjam/ftjam-2.5.3_rc2-r3.ebuild
index 816961d7bfa0..806e3bc1fa14 100644
--- a/dev-util/ftjam/ftjam-2.5.3_rc2-r2.ebuild
+++ b/dev-util/ftjam/ftjam-2.5.3_rc2-r3.ebuild
@@ -26,6 +26,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.5.3-nostrip.patch
"${FILESDIR}"/${PN}-2.5.3-i-hate-yacc.patch
"${FILESDIR}"/${PN}-2.5.3-false-flags.patch
+ "${FILESDIR}"/${PN}-2.5.3-clang16.patch
)
src_prepare() {