summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2022-08-01 15:03:21 +0200
committerAndras Timar <andras.timar@collabora.com>2022-08-01 15:04:32 +0200
commit0e1ada088d97fbf3887404d016ccfc58e5c9f523 (patch)
treeec80c88def174fd328beaf458ca3871d42c0ecbf
parentd6d0b4e21d60a027520fd77c7607d0a1d3ce75f6 (diff)
Fix 'Architecture' string on ppc64le platform, Debian uses 'ppc64el'cp-22.05.5-1
Change-Id: Idb678ac2669914575d3ddb813d35212df26e3d17
-rw-r--r--external/epm/UnpackedTarball_epm.mk1
-rw-r--r--external/epm/ppc64el.patch.011
2 files changed, 12 insertions, 0 deletions
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);
+