* [gentoo-commits] repo/gentoo:master commit in: app-misc/delay/files/, app-misc/delay/
@ 2022-11-24 9:50 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-11-24 9:50 UTC (permalink / raw
To: gentoo-commits
commit: 19c56f45a25af6da76133b2e27beb40fd5ad78df
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 08:50:39 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 09:04:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c56f45
app-misc/delay: fix build w/ clang 16
Closes: https://bugs.gentoo.org/881319
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/delay/delay-1.6-r3.ebuild | 1 +
app-misc/delay/files/delay-1.6-clang16.patch | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/app-misc/delay/delay-1.6-r3.ebuild b/app-misc/delay/delay-1.6-r3.ebuild
index 403d03af2144..6f8a2efbcd8f 100644
--- a/app-misc/delay/delay-1.6-r3.ebuild
+++ b/app-misc/delay/delay-1.6-r3.ebuild
@@ -20,6 +20,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-headers.patch
"${FILESDIR}"/${P}-tinfo.patch
+ "${FILESDIR}"/${P}-clang16.patch
)
src_prepare() {
diff --git a/app-misc/delay/files/delay-1.6-clang16.patch b/app-misc/delay/files/delay-1.6-clang16.patch
new file mode 100644
index 000000000000..5deec4ea5194
--- /dev/null
+++ b/app-misc/delay/files/delay-1.6-clang16.patch
@@ -0,0 +1,12 @@
+--- a/parsetimey.y
++++ b/parsetimey.y
+@@ -7,6 +7,9 @@
+
+ #define YYDEBUG 1
+
++int yyerror(char *s);
++int yylex(void);
++
+ time_t currtime;
+ struct tm exectm;
+ static int isgmt;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/delay/files/, app-misc/delay/
@ 2022-11-25 11:53 Ionen Wolkens
0 siblings, 0 replies; 2+ messages in thread
From: Ionen Wolkens @ 2022-11-25 11:53 UTC (permalink / raw
To: gentoo-commits
commit: 6c7fb619c8661e72230fe3669d6e238288132430
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 11:48:15 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 11:52:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7fb619
app-misc/delay: remove broken clang16 patch for now
It breaks e.g. `delay until now + 5 minutes` with segfault.
Need to figure out the proper fix to get the right declaration
that YYLEX macro will use (seems yylex can get arguments?).
Haven't looked at it more, hardly know yacc/lex.
Bug: https://bugs.gentoo.org/881319
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-misc/delay/{delay-1.6-r4.ebuild => delay-1.6-r5.ebuild} | 1 -
app-misc/delay/files/delay-1.6-clang16.patch | 12 ------------
2 files changed, 13 deletions(-)
diff --git a/app-misc/delay/delay-1.6-r4.ebuild b/app-misc/delay/delay-1.6-r5.ebuild
similarity index 95%
rename from app-misc/delay/delay-1.6-r4.ebuild
rename to app-misc/delay/delay-1.6-r5.ebuild
index 6f8a2efbcd8f..403d03af2144 100644
--- a/app-misc/delay/delay-1.6-r4.ebuild
+++ b/app-misc/delay/delay-1.6-r5.ebuild
@@ -20,7 +20,6 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-headers.patch
"${FILESDIR}"/${P}-tinfo.patch
- "${FILESDIR}"/${P}-clang16.patch
)
src_prepare() {
diff --git a/app-misc/delay/files/delay-1.6-clang16.patch b/app-misc/delay/files/delay-1.6-clang16.patch
deleted file mode 100644
index 5deec4ea5194..000000000000
--- a/app-misc/delay/files/delay-1.6-clang16.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/parsetimey.y
-+++ b/parsetimey.y
-@@ -7,6 +7,9 @@
-
- #define YYDEBUG 1
-
-+int yyerror(char *s);
-+int yylex(void);
-+
- time_t currtime;
- struct tm exectm;
- static int isgmt;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-25 11:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-24 9:50 [gentoo-commits] repo/gentoo:master commit in: app-misc/delay/files/, app-misc/delay/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2022-11-25 11:53 Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox