From 2f578c44c104e20034341ba34645e38703616b261cc259a79c04a0af7855dd1c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 30 Jan 2018 07:53:57 +0000 Subject: [PATCH] Correct include path for ncursesw OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=352 --- ncurses.changes | 5 +++++ ncurses.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ncurses.changes b/ncurses.changes index 7ae1ab8..525a94f 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 30 07:51:09 UTC 2018 - werner@suse.de + +- Correct include path for wide chraracter header files for ABI 6.1 + ------------------------------------------------------------------- Mon Jan 29 10:48:07 UTC 2018 - werner@suse.de diff --git a/ncurses.spec b/ncurses.spec index 857ad0b..054f852 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -519,7 +519,7 @@ mv tack-* tack %endif # must not use %jobs here (would lead to: ln: ncurses.h already exists) find man/ -name '*.[1-8]x.*' -print -delete - make install DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncurses libdir=%{_libdir} + make install DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncursesw libdir=%{_libdir} ln -sf %{_incdir}/ncurses/{curses,ncurses,term,termcap}.h %{root}%{_incdir} sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncursesw" --libs "-lncursesw" --libs "-ltinfow" %{root}%{_bindir}/ncursesw6-config mkdir pc @@ -617,7 +617,7 @@ mv tack-* tack make -C c++ etip.h make %{?_smp_mflags} # must not use %jobs here (would lead to: ln: ncurses.h already exists) - make install.libs install.includes DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncursesw libdir=%{_libdir} + make install.libs install.includes DESTDIR=%{root} includedir=%{_incdir} includesubdir=/ncurses libdir=%{_libdir} sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncurses" --libs "-lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncurses6-config pushd man sh ../edit_man.sh normal installing %{root}%{_mandir} . ncurses6-config.1