From 9452a6e87b6c2c70513bc47a2470bf9f1168920e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jun 2020 10:39:22 +0100 Subject: gentoo resync : 13.06.2020 --- .../libgnt/files/libgnt-2.14.0-optional_docs.patch | 15 +++++++++++++++ dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dev-libs/libgnt/files/libgnt-2.14.0-optional_docs.patch create mode 100644 dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch (limited to 'dev-libs/libgnt/files') diff --git a/dev-libs/libgnt/files/libgnt-2.14.0-optional_docs.patch b/dev-libs/libgnt/files/libgnt-2.14.0-optional_docs.patch new file mode 100644 index 000000000000..aded0c047674 --- /dev/null +++ b/dev-libs/libgnt/files/libgnt-2.14.0-optional_docs.patch @@ -0,0 +1,15 @@ +--- libgnt-2.14.0/meson.build ++++ libgnt-2.14.0/meson.build +@@ -231,4 +231,6 @@ + + subdir('wms') + subdir('test') +-subdir('doc') ++if get_option('doc') ++ subdir('doc') ++endif +--- libgnt-2.14.0/meson_options.txt ++++ libgnt-2.14.0/meson_options.txt +@@ -0,0 +1,2 @@ ++option('doc', type : 'boolean', value : true, ++ description : 'build documentation with gtk-doc') diff --git a/dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch b/dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch new file mode 100644 index 000000000000..1e4ab49020b9 --- /dev/null +++ b/dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch @@ -0,0 +1,18 @@ +--- libgnt-2.14.0/meson.build ++++ libgnt-2.14.0/meson.build +@@ -72,6 +72,7 @@ + ncurses_available = true + ncurses_inc = [] + ncurses_libs = [ ++ compiler.find_library('tinfow', required : false), + compiler.find_library('ncursesw', required : false), + compiler.find_library('panelw', required : false) + ] +@@ -113,6 +114,7 @@ + else + # ncursesw was not found. Look for plain old ncurses + ncurses_libs = [ ++ compiler.find_library('tinfo', required : false), + compiler.find_library('ncurses', required : false), + compiler.find_library('panel', required : false) + ] -- cgit v1.2.3