From b71a71acf722be7a2ca1708d4c6882ffb521a6bfad89aa908cb90edfff27c7d1 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 7 Apr 2020 08:43:41 +0000 Subject: [PATCH 1/2] wide character support OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=482 --- ncurses.changes | 5 +++++ ncurses.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/ncurses.changes b/ncurses.changes index 659ef91..3c720d7 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 7 08:42:40 UTC 2020 - Dr. Werner Fink + +- Add check for wide character support in libncursesw + ------------------------------------------------------------------- Mon Apr 6 10:31:47 UTC 2020 - Dr. Werner Fink diff --git a/ncurses.spec b/ncurses.spec index e65f32d..cc30d36 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1062,6 +1062,7 @@ includedir5=%{_incdir}/ncurses5' "$pc" %check LD_LIBRARY_PATH=%{buildroot}/%{_lib}:%{buildroot}%{_libdir} export LD_LIBRARY_PATH +nm -D %{buildroot}/%{_lib}/libncursesw.so.%{basevers} | grep -q _in_wch %if %{with onlytinfo} nm -D %{buildroot}/%{_lib}/libtinfo.so.%{basevers} | grep -q _nc_read_entry2 %endif From 3145b78a906e3881c05de2e1e3c8035e77d001b1d42cf1d9647028cd2291e355 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 7 Apr 2020 09:25:57 +0000 Subject: [PATCH 2/2] wide character support, second try OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=483 --- ncurses.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncurses.spec b/ncurses.spec index cc30d36..97da19d 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1062,7 +1062,7 @@ includedir5=%{_incdir}/ncurses5' "$pc" %check LD_LIBRARY_PATH=%{buildroot}/%{_lib}:%{buildroot}%{_libdir} export LD_LIBRARY_PATH -nm -D %{buildroot}/%{_lib}/libncursesw.so.%{basevers} | grep -q _in_wch +nm -D %{buildroot}/%{_lib}/libncursesw.so.%{basevers} | grep -q in_wch %if %{with onlytinfo} nm -D %{buildroot}/%{_lib}/libtinfo.so.%{basevers} | grep -q _nc_read_entry2 %endif