summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
+