mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
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:
@@ -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
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user