X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fuclibc%2F0.9.33.2%2F0067-sparc-clone.S-guard-tcb-offsets.h-include-with-RESET_P.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fuclibc%2F0.9.33.2%2F0067-sparc-clone.S-guard-tcb-offsets.h-include-with-RESET_P.patch;h=a98ee688cc60613559fb2a79645e8f207c6e8ffe;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/uclibc/0.9.33.2/0067-sparc-clone.S-guard-tcb-offsets.h-include-with-RESET_P.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/uclibc/0.9.33.2/0067-sparc-clone.S-guard-tcb-offsets.h-include-with-RESET_P.patch new file mode 100644 index 0000000..a98ee68 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/uclibc/0.9.33.2/0067-sparc-clone.S-guard-tcb-offsets.h-include-with-RESET_P.patch @@ -0,0 +1,31 @@ +From 857420a3271dc5bbddbe45a9e9878b9dc88fd143 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Tue, 3 Mar 2015 14:56:17 -0300 +Subject: [PATCH] sparc/clone.S: guard tcb-offsets.h include with RESET_PID + +Status: upstream [uClibc] + +Otherwise we have a broken scenario with non-threading builds. + +Signed-off-by: Gustavo Zacarias +--- + libc/sysdeps/linux/sparc/clone.S | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/libc/sysdeps/linux/sparc/clone.S b/libc/sysdeps/linux/sparc/clone.S +index 8d9da5a..1d0e3e6 100644 +--- a/libc/sysdeps/linux/sparc/clone.S ++++ b/libc/sysdeps/linux/sparc/clone.S +@@ -22,7 +22,9 @@ + + #include + #include ++#ifdef RESET_PID + #include ++#endif + #include + + #define CLONE_VM 0x00000100 +-- +2.0.5 +