Files
termux-packages/packages/sssnake/draw.h.patch
termux-pacman-bot aefea9de81 fix(main/sssnake): Fix building with current clang
Fix the following build error:
> error: call to undeclared function 'addwstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2024-05-15 10:37:34 +00:00

12 lines
307 B
Diff

diff -u -r ../sssnake-0.3.2/draw.h ./draw.h
--- ../sssnake-0.3.2/draw.h 2022-10-09 06:17:14.000000000 +0000
+++ ./draw.h 2024-05-15 09:56:17.567451156 +0000
@@ -3,6 +3,7 @@
#include "snake.h"
#include "structs.h"
+#define NCURSES_WIDECHAR 1
#include <curses.h>
#include <locale.h>
#include <wchar.h>