summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch
diff options
context:
space:
mode:
authorBian Naimeng <biannm@cn.fujitsu.com>2015-07-17 11:59:44 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-24 14:03:54 +0200
commit4a89e4c6088a3c3c3af8a228b10ee1dea9353634 (patch)
treea761cab3c95f9884d0d5b23249cf95a52db59bbc /meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch
parent772cdf8ef08ed7e1c56313575032702ce152ce2f (diff)
downloadmeta-openembedded-4a89e4c6088a3c3c3af8a228b10ee1dea9353634.tar.gz
samba: upgrade to 4.1.12
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch')
-rw-r--r--meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch b/meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch
new file mode 100644
index 000000000..1a31e0d0e
--- /dev/null
+++ b/meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch
@@ -0,0 +1,22 @@
1samba: execute prog on target directly is impossible.
2
3Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
4
5diff -Nurp samba-4.1.12.orig/lib/ccan/wscript samba-4.1.12/lib/ccan/wscript
6--- samba-4.1.12.orig/lib/ccan/wscript 2013-06-13 18:21:02.000000000 +0900
7+++ samba-4.1.12/lib/ccan/wscript 2015-04-27 14:26:25.123000238 +0900
8@@ -127,10 +127,10 @@ def configure(conf):
9 # Only check for FILE_OFFSET_BITS=64 if off_t is normally small:
10 # use raw routines because wrappers include previous _GNU_SOURCE
11 # or _FILE_OFFSET_BITS defines.
12- conf.check(fragment="""#include <sys/types.h>
13- int main(void) { return !(sizeof(off_t) < 8); }""",
14- execute=True, msg='Checking for small off_t',
15- define_name='SMALL_OFF_T')
16+ conf.CHECK_CODE("""#include <sys/types.h>
17+ int main(void) { return !(sizeof(off_t) < 8); }""",
18+ link=True, execute=True, addmain=False, msg='Checking for small off_t',
19+ define='HAVE_SMALL_OFF_T')
20 # Unreliable return value above, hence use define.
21 if conf.CONFIG_SET('SMALL_OFF_T'):
22 conf.check(fragment="""#include <sys/types.h>