dev-lang/nprolog: fix implicit addwstr

Closes: https://bugs.gentoo.org/939034
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-10-03 17:08:44 +02:00
parent b88e28ac70
commit 14ca378a00
3 changed files with 33 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/edlog.c b/edlog.c
index 206e6a6..317a4ee 100644
--- a/edlog.c
+++ b/edlog.c
@@ -8,7 +8,7 @@
#define _XOPEN_SOURCE_EXTENDED
#define NCURSES_OPAQUE 1
#ifdef __linux__
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
#else
#include <curses.h>
#endif
+10
View File
@@ -22,8 +22,18 @@ fi
LICENSE="BSD-2"
SLOT="0"
PATCHES=( "${FILESDIR}/${PN}-3.22-ncursesw.patch" )
DOCS=( README{,-ja}.md document )
src_prepare() {
if [[ -f edlog ]] ; then
rm edlog || die
fi
default
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
+10
View File
@@ -22,8 +22,18 @@ fi
LICENSE="BSD-2"
SLOT="0"
PATCHES=( "${FILESDIR}/${PN}-3.22-ncursesw.patch" )
DOCS=( README{,-ja}.md document )
src_prepare() {
if [[ -f edlog ]] ; then
rm edlog || die
fi
default
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}