diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2
index 9da99ad..3e7d985 100644
--- a/ncurses-6.0-patches.tar.bz2
+++ b/ncurses-6.0-patches.tar.bz2
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:aa2ac44fe56d62142e554db5216e043bd9edc8ac8a31f21e4461ffd42b76a3b2
-size 2558214
+oid sha256:e47a61a7f1201f4e5bb07bc34c8db6ca1eaeb9f3bc12911d69c24f3f81619fb7
+size 2562098
diff --git a/ncurses.changes b/ncurses.changes
index 06c39bc..1a60b7e 100644
--- a/ncurses.changes
+++ b/ncurses.changes
@@ -1,3 +1,18 @@
+-------------------------------------------------------------------
+Wed May 24 07:10:12 UTC 2017 - werner@suse.de
+
+- Fix ncursesw6-config and ncursesw5-config scripts to return -ltinfow
+  as well as the pkg-config files do
+
+-------------------------------------------------------------------
+Mon May 22 06:38:10 UTC 2017 - werner@suse.de
+
+- Add ncurses patch 20170520
+  + modify test/picsmap.c to read xpm files.
+  + modify package/debian/* to create documentation packages, so the
+    related files can be checked with lintian.
+  + fix some typos in manpages (report/patch by Sven Joachim).
+
 -------------------------------------------------------------------
 Mon May 15 10:07:56 UTC 2017 - werner@suse.de
 
diff --git a/ncurses.spec b/ncurses.spec
index e3e2b43..e3a6959 100644
--- a/ncurses.spec
+++ b/ncurses.spec
@@ -50,9 +50,9 @@ Obsoletes:      ncurses-64bit
 Version:        6.0
 Release:        0
 Summary:        Terminal control library
+#Git:           http://ncurses.scripts.mit.edu
 License:        MIT
 Group:          System/Base
-#Git:           http://ncurses.scripts.mit.edu
 Url:            http://invisible-island.net/ncurses/ncurses.html
 Source0:        ftp://invisible-island.net/ncurses/ncurses-6.0.tar.gz
 Source1:        ncurses-6.0-patches.tar.bz2
@@ -604,7 +604,7 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
     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}
-    sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncursesw" --libs "-lncursesw" --libs "-ltinfo" %{root}%{_bindir}/ncursesw6-config
+    sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncursesw" --libs "-lncursesw" --libs "-ltinfow" %{root}%{_bindir}/ncursesw6-config
     pushd man
 	sh ../edit_man.sh normal installing %{root}%{_mandir} . ncursesw6-config.1
     popd
@@ -647,7 +647,7 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
 	     s@^(includedir=).show_includedir@\1%{_incdir}/ncurses5/ncursesw@' misc/gen-pkgconfig
     # must not use %jobs here (would lead to: ln: ncurses.h already exists)
     make install.libs install.includes DESTDIR=%{root} includedir=%{_incdir}/ncurses5 includesubdir=/ncursesw libdir=%{_libdir}/ncurses5
-    sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncurses5/ncursesw -I%{_incdir}/ncurses5" --libs "-L%{_libdir}/ncurses5 -lncursesw" --libs "-ltinfo" %{root}%{_bindir}/ncursesw5-config
+    sh %{S:6} --cflags "-D_GNU_SOURCE -I%{_incdir}/ncurses5/ncursesw -I%{_incdir}/ncurses5" --libs "-L%{_libdir}/ncurses5 -lncursesw" --libs "-ltinfow" %{root}%{_bindir}/ncursesw5-config
     pushd man
 	sh ../edit_man.sh normal installing %{root}%{_mandir} . ncursesw5-config.1
     popd