summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch')
-rw-r--r--meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch b/meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch
new file mode 100644
index 000000000..83c42eb65
--- /dev/null
+++ b/meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch
@@ -0,0 +1,22 @@
1waf trys to get package's configuration by native ncurses6-config.
2it will make native header files and library be used.
3
4Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
5
6--- samba-4.1.12.orig/source3/wscript_configure_system_ncurses 2013-12-05 18:16:48.000000000 +0900
7+++ samba-4.1.12/source3/wscript_configure_system_ncurses 2015-04-29 16:12:22.619000250 +0900
8@@ -2,14 +2,6 @@ import Logs, Options, sys
9
10 Logs.info("Looking for ncurses features")
11
12-conf.find_program('ncurses5-config', var='NCURSES_CONFIG')
13-if not conf.env.NCURSES_CONFIG:
14- conf.find_program('ncurses6-config', var='NCURSES_CONFIG')
15-
16-if conf.env.NCURSES_CONFIG:
17- conf.check_cfg(path=conf.env.NCURSES_CONFIG, args="--cflags --libs",
18- package="", uselib_store="NCURSES")
19-
20 conf.CHECK_HEADERS('ncurses.h menu.h panel.h form.h', lib='ncurses')
21
22 conf.CHECK_FUNCS_IN('initscr', 'ncurses')