From fa29398e98f01001c24e7d6856179dbf8124e5b6 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Mon, 1 Aug 2022 15:03:21 +0200 Subject: [PATCH] Fix 'Architecture' string on ppc64le platform, Debian uses 'ppc64el' Change-Id: Idb678ac2669914575d3ddb813d35212df26e3d17 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146297 Tested-by: Jenkins Reviewed-by: Andras Timar --- external/epm/UnpackedTarball_epm.mk | 1 + external/epm/ppc64el.patch.0 | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 external/epm/ppc64el.patch.0 diff --git a/external/epm/UnpackedTarball_epm.mk b/external/epm/UnpackedTarball_epm.mk index c064a5bacc1e..91d9fbd2b29a 100644 --- a/external/epm/UnpackedTarball_epm.mk +++ b/external/epm/UnpackedTarball_epm.mk @@ -14,6 +14,7 @@ $(eval $(call gb_UnpackedTarball_set_tarball,epm,$(EPM_TARBALL),,epm)) $(eval $(call gb_UnpackedTarball_add_patches,epm,\ external/epm/epm-3.7.patch \ external/epm/asan.patch.0 \ + external/epm/ppc64el.patch.0 \ )) # vim: set noet sw=4 ts=4: diff --git a/external/epm/ppc64el.patch.0 b/external/epm/ppc64el.patch.0 new file mode 100644 index 000000000000..2b9416e8d215 --- /dev/null +++ b/external/epm/ppc64el.patch.0 @@ -0,0 +1,11 @@ +--- deb.c.orig 2022-08-01 14:50:38.593375838 +0200 ++++ deb.c 2022-08-01 14:58:08.000000000 +0200 +@@ -163,6 +163,8 @@ + #endif + else if (!strcmp(platform->machine, "ppc")) + fputs("Architecture: powerpc\n", fp); ++ else if (!strcmp(platform->machine, "ppc64le")) ++ fputs("Architecture: ppc64el\n", fp); + else + fprintf(fp, "Architecture: %s\n", platform->machine); +