gentoo-ebuilds/games-puzzle/galaxis/files/galaxis-1.10-clang16-build-fix.patch
Brahmajit Das 8d0922f67e
games-puzzle/galaxis: Fix call to undeclared library function bzero
Closes: https://bugs.gentoo.org/895986
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33170
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2023-10-09 21:37:57 +01:00

11 lines
219 B
Diff

Bug: https://bugs.gentoo.org/895986
--- a/galaxis.c
+++ b/galaxis.c
@@ -6,6 +6,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#define _POSIX_SOURCE
+#define _GNU_SOURCE
#include <stdio.h>
#include <termios.h>