diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:52:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:52:12 +0000 |
commit | 974c21ad33bfa1d93d5ae795556d35ca7eb36e68 (patch) | |
tree | 1a0d7c0258aadfcd993c4bffa454bcf117b382cf /debian/patches/pdfium-m68k.diff | |
parent | Adding upstream version 1:7.0.4. (diff) | |
download | libreoffice-debian/1%7.0.4-4+deb11u8.tar.xz libreoffice-debian/1%7.0.4-4+deb11u8.zip |
Adding debian version 1:7.0.4-4+deb11u8.debian/1%7.0.4-4+deb11u8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/pdfium-m68k.diff')
-rw-r--r-- | debian/patches/pdfium-m68k.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/pdfium-m68k.diff b/debian/patches/pdfium-m68k.diff new file mode 100644 index 000000000..8b9df41fa --- /dev/null +++ b/debian/patches/pdfium-m68k.diff @@ -0,0 +1,20 @@ +don't break pdfium build on m68k + +FIXME: Make this set by autoconf, most of the defines in build_config.h are not actually +used anyway in pdfium... + +diff --git a/external/pdfium/configs/build_config.h b/external/pdfium/configs/build_config.h +index 22084c0a0836..6fd080e644fb 100644 +--- a/external/pdfium/configs/build_config.h ++++ b/external/pdfium/configs/build_config.h +@@ -118,6 +118,9 @@ + #define ARCH_CPU_ARM_FAMILY 1 + #define ARCH_CPU_ARM64 1 + #define ARCH_CPU_64_BITS 1 ++#elif defined(__m68k__) ++#define ARCH_CPU_M68K 1 ++#define ARCH_CPU_32_BITS 1 + #else + #error Please add support for your architecture in build/build_config.h + #endif + |