X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fpoco%2F0001-aarch64.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fpoco%2F0001-aarch64.patch;h=f629f7ba925326f94c67244ce2f389091d983e7b;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/poco/0001-aarch64.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/poco/0001-aarch64.patch new file mode 100644 index 0000000..f629f7b --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/poco/0001-aarch64.patch @@ -0,0 +1,39 @@ +From 37899eda9563d9134cb5864751b6432cabfaac3e Mon Sep 17 00:00:00 2001 +From: Will Newton +Date: Tue, 21 May 2013 22:11:05 +0100 +Subject: [PATCH] Foundation/include/Poco/Platform.h: Add support for AArch64. + +Add support for big and little endian AArch64 preprocessor defines. +--- + Foundation/include/Poco/Platform.h | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h +index f34f277..8ddb4cb 100644 +--- a/Foundation/include/Poco/Platform.h ++++ b/Foundation/include/Poco/Platform.h +@@ -145,6 +145,7 @@ + #define POCO_ARCH_S390 0x0c + #define POCO_ARCH_SH 0x0d + #define POCO_ARCH_NIOS2 0x0e ++#define POCO_ARCH_AARCH64 0x0f + + + #if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA) +@@ -207,7 +208,12 @@ + #else + #define POCO_ARCH_BIG_ENDIAN 1 + #endif +- ++#elif defined(__AARCH64EL__) ++ #define POCO_ARCH POCO_ARCH_AARCH64 ++ #define POCO_ARCH_LITTLE_ENDIAN 1 ++#elif defined(__AARCH64EB__) ++ #define POCO_ARCH POCO_ARCH_AARCH64 ++ #define POCO_ARCH_BIG_ENDIAN 1 + #endif + + +-- +1.8.1.4 +