From 4a89e4c6088a3c3c3af8a228b10ee1dea9353634 Mon Sep 17 00:00:00 2001 From: Bian Naimeng Date: Fri, 17 Jul 2015 11:59:44 +0800 Subject: samba: upgrade to 4.1.12 Signed-off-by: Bian Naimeng --- .../samba-4.1.12/17-execute-prog-by-qemu.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch (limited to 'meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch') 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 @@ +samba: execute prog on target directly is impossible. + +Signed-off-by: Bian Naimeng + +diff -Nurp samba-4.1.12.orig/lib/ccan/wscript samba-4.1.12/lib/ccan/wscript +--- samba-4.1.12.orig/lib/ccan/wscript 2013-06-13 18:21:02.000000000 +0900 ++++ samba-4.1.12/lib/ccan/wscript 2015-04-27 14:26:25.123000238 +0900 +@@ -127,10 +127,10 @@ def configure(conf): + # Only check for FILE_OFFSET_BITS=64 if off_t is normally small: + # use raw routines because wrappers include previous _GNU_SOURCE + # or _FILE_OFFSET_BITS defines. +- conf.check(fragment="""#include +- int main(void) { return !(sizeof(off_t) < 8); }""", +- execute=True, msg='Checking for small off_t', +- define_name='SMALL_OFF_T') ++ conf.CHECK_CODE("""#include ++ int main(void) { return !(sizeof(off_t) < 8); }""", ++ link=True, execute=True, addmain=False, msg='Checking for small off_t', ++ define='HAVE_SMALL_OFF_T') + # Unreliable return value above, hence use define. + if conf.CONFIG_SET('SMALL_OFF_T'): + conf.check(fragment="""#include -- cgit v1.2.3-54-g00ecf