diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 06:29:12 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-11 06:39:35 -0400 |
commit | 536705035512808ac19addaf703e23bb55adfc71 (patch) | |
tree | 3d7d452c2f120c2b5b6be971e92e5dcd63aaf01a /dev-util/cutils/files | |
parent | sys-devel/clang: Remove unnecessary LLVM_EXTERNAL_LIT hack (diff) | |
download | gentoo-536705035512808ac19addaf703e23bb55adfc71.tar.gz gentoo-536705035512808ac19addaf703e23bb55adfc71.tar.bz2 gentoo-536705035512808ac19addaf703e23bb55adfc71.zip |
dev-util/cutils: EAPI7->8, fix direct AR and build w/ clang16
Closes: https://bugs.gentoo.org/724270
Closes: https://bugs.gentoo.org/871402
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util/cutils/files')
-rw-r--r-- | dev-util/cutils/files/cutils-1.6-ar.patch | 8 | ||||
-rw-r--r-- | dev-util/cutils/files/cutils-1.6-clang16.patch | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/cutils/files/cutils-1.6-ar.patch b/dev-util/cutils/files/cutils-1.6-ar.patch new file mode 100644 index 000000000000..68a3372e3b01 --- /dev/null +++ b/dev-util/cutils/files/cutils-1.6-ar.patch @@ -0,0 +1,8 @@ +https://bugs.gentoo.org/724270 +--- a/lib/Makefile.in ++++ b/lib/Makefile.in +@@ -21,3 +21,3 @@ + rm -f $(LIB) +- ar rc $(LIB) $(OBJS) ++ $(AR) rc $(LIB) $(OBJS) + $(RANLIB) $(LIB) diff --git a/dev-util/cutils/files/cutils-1.6-clang16.patch b/dev-util/cutils/files/cutils-1.6-clang16.patch new file mode 100644 index 000000000000..3c40b4ccf3c0 --- /dev/null +++ b/dev-util/cutils/files/cutils-1.6-clang16.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/871402 +--- a/src/cdecl/parser.y ++++ b/src/cdecl/parser.y +@@ -46,2 +46,3 @@ + extern FILE *output_file; ++extern int yylex(void); + +--- a/src/cundecl/parser.y ++++ b/src/cundecl/parser.y +@@ -47,2 +47,3 @@ + extern FILE *output_file; ++extern int yylex(void); + +--- a/src/yyref/parser.y ++++ b/src/yyref/parser.y +@@ -50,2 +50,3 @@ + extern int lineno; ++extern int yylex(void); + |