diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch b/meta-networking/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch deleted file mode 100644 index 1a31e0d0e0..0000000000 --- a/meta-networking/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch +++ /dev/null @@ -1,22 +0,0 @@ -samba: execute prog on target directly is impossible. - -Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> - -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 <sys/types.h> -- 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 <sys/types.h> -+ 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 <sys/types.h> |