diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /media/libpng/arm.patch | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | media/libpng/arm.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media/libpng/arm.patch b/media/libpng/arm.patch new file mode 100644 index 0000000000..6b93816fa7 --- /dev/null +++ b/media/libpng/arm.patch @@ -0,0 +1,32 @@ +diff --git a/arm/arm_init.c b/arm/arm_init.c +--- a/arm/arm_init.c ++++ b/arm/arm_init.c +@@ -34,9 +34,9 @@ + * implementation which reads /proc/cpufino. + */ + #ifndef PNG_ARM_NEON_FILE + # ifdef __linux__ +-# define PNG_ARM_NEON_FILE "contrib/arm-neon/linux.c" ++# define PNG_ARM_NEON_FILE "linux.c" + # endif + #endif + + #ifdef PNG_ARM_NEON_FILE +diff --git a/arm/filter_neon.S b/arm/filter_neon.S +--- a/arm/filter_neon.S ++++ b/arm/filter_neon.S +@@ -9,8 +9,14 @@ + * For conditions of distribution and use, see the disclaimer + * and license in png.h + */ + ++/* These are required because Mozilla's moz.build system doesn't pass ++ * -DDefined macros to the assembler. ++ */ ++#define PNG_READ_SUPPORTED ++#define MOZ_PNG_HAVE_ARM_NEON ++ + /* This is required to get the symbol renames, which are #defines, and the + * definitions (or not) of PNG_ARM_NEON_OPT and PNG_ARM_NEON_IMPLEMENTATION. + */ + #define PNG_VERSION_INFO_ONLY |