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 <andras.timar@collabora.com>
This commit is contained in:
Andras Timar 2022-08-01 15:03:21 +02:00
parent 55d4dc3a6b
commit fa29398e98
2 changed files with 12 additions and 0 deletions

View file

@ -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:

11
external/epm/ppc64el.patch.0 vendored Normal file
View file

@ -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);