gentoo-ebuilds/games-action/koth/files/koth-0.8.0-lto.patch
NHOrus 21465c024b
games-action/koth: update EAPI 7 -> 8, fix build under LTO
Closes: https://bugs.gentoo.org/942296
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/41217
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-03-22 08:40:57 +02:00

13 lines
314 B
Diff

Remove extraneous inline that prevents successful linking under LTO
https://bugs.gentoo.org/942296
--- a/src/cfgfile.c
+++ b/src/cfgfile.c
@@ -53,7 +53,7 @@
return result;
}
-inline char *cfgClearWS(char *string)
+char *cfgClearWS(char *string)
{
char *ret = string, *temp;
while(isspace(*ret))