pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/firefox52
Module Name: pkgsrc
Committed By: martin
Date: Sat May 28 18:31:13 UTC 2022
Modified Files:
pkgsrc/www/firefox52: distinfo
Added Files:
pkgsrc/www/firefox52/patches: patch-gfx-ycbcr-chromium_types.h
patch-js-src-jit-AtomicOperations.h
patch-xpcom_reflect_xptcall_md_unix_moz.build
Removed Files:
pkgsrc/www/firefox52/patches:
patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__asm__ppc__netbsd.s
patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__ppc__netbsd.cpp
Log Message:
Make firefox52 build + run on NetBSD/macppc.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/www/firefox52/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/firefox52/patches/patch-gfx-ycbcr-chromium_types.h \
pkgsrc/www/firefox52/patches/patch-js-src-jit-AtomicOperations.h \
pkgsrc/www/firefox52/patches/patch-xpcom_reflect_xptcall_md_unix_moz.build
cvs rdiff -u -r1.1 -r0 \
pkgsrc/www/firefox52/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__asm__ppc__netbsd.s \
pkgsrc/www/firefox52/patches/patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__ppc__netbsd.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/firefox52/distinfo
diff -u pkgsrc/www/firefox52/distinfo:1.31 pkgsrc/www/firefox52/distinfo:1.32
--- pkgsrc/www/firefox52/distinfo:1.31 Tue Oct 26 11:29:26 2021
+++ pkgsrc/www/firefox52/distinfo Sat May 28 18:31:13 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2021/10/26 11:29:26 nia Exp $
+$NetBSD: distinfo,v 1.32 2022/05/28 18:31:13 martin Exp $
BLAKE2s (firefox-52.9.0esr.source.tar.xz) = 68da851ecfe1b03231157bf79732865d3cf81b7c10128a2e2a9e6e7be3963348
SHA512 (firefox-52.9.0esr.source.tar.xz) = bfca42668ca78a12a9fb56368f4aae5334b1f7a71966fbba4c32b9c5e6597aac79a6e340ac3966779d2d5563eb47c054ab33cc40bfb7306172138ccbd3adb2b9
@@ -35,6 +35,7 @@ SHA1 (patch-dom_media_platforms_ffmpeg_f
SHA1 (patch-dom_plugins_ipc_PluginModuleChild.cpp) = 9961e956016f274a1b9b52b489bd749e8e2bbcb6
SHA1 (patch-dom_plugins_ipc_PluginModuleChild.h) = 15c01df2fa7f989b533ef769ce77438b5e9bfdb9
SHA1 (patch-dom_system_OSFileConstants.cpp) = e932ca46cbc78eb8486b9ff704434a962645c6b2
+SHA1 (patch-gfx-ycbcr-chromium_types.h) = 769240a99b0e0425a33a0a95e8ddf1ee0ee1d771
SHA1 (patch-gfx_2d_DataSurfaceHelpers.cpp) = e18b002f51fc0a191d579fa49025aac2c5000d81
SHA1 (patch-gfx_2d_HelpersCairo.h) = f910d634624fdf288a042c2a0c636598103ef289
SHA1 (patch-gfx_cairo_libpixman_src_pixman-arm-neon-asm.S) = 6e91ca436b73affe42ed4e683b3400beb28c4bc6
@@ -64,6 +65,7 @@ SHA1 (patch-ipc_chromium_src_base_time__
SHA1 (patch-ipc_chromium_src_build_build__config.h) = 9e4f15226c494f5015dbea3a0df6af851449ae15
SHA1 (patch-ipc_chromium_src_chrome_common_transport__dib.h) = 33ea11a8c23f2fefcb318342ac9e94d3885cb3b1
SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = b9c202645a4b6f691a6eb81ef0daf4278d10dcc4
+SHA1 (patch-js-src-jit-AtomicOperations.h) = 191c3a6711410a67e4dbcb953e2169a0524476cf
SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = b2a34e470e4fc789f777aa101a5911e19d56dc26
SHA1 (patch-js_src_jit_arm_Architecture-arm.cpp) = f0b554c169643b8447b4f29168d61ea257b18782
SHA1 (patch-js_src_jit_none_AtomicOperations-sparc.h) = b44992a869d6d08809a9edc28f1ad6f40632d392
@@ -120,11 +122,10 @@ SHA1 (patch-toolkit_xre_nsEmbedFunctions
SHA1 (patch-xpcom_base_nscore.h) = d7c96eda884d7f370442749c43caba50da61bbe4
SHA1 (patch-xpcom_build_XPCOMInit.cpp) = 1e7cc3a7fd9515b10307fafa2b01ed689320bd54
SHA1 (patch-xpcom_reflect_xptcall_md_unix_Makefile.in) = 950874fbc255c93a828bddd84ffe8478094214cc
+SHA1 (patch-xpcom_reflect_xptcall_md_unix_moz.build) = b62af604ca0f409ecfba20c13a3deead54787192
SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__arm__netbsd.cpp) = 493d1433ae72bbd0c65ab3f51de43fb864a6f58d
SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__asm__mips.S) = f310105510bb5fa6c6de122ebdebbfa18423d8d3
-SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__asm__ppc__netbsd.s) = 8e367d4d0baf24714ee80449fc8d6849ff08ca1c
SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__netbsd__m68k.cpp) = b6dc5d54eeaa908d914116429e61f4b65a6a5f8e
-SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__ppc__netbsd.cpp) = 71a33723a557a6153405f6baec8404b25f841608
SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcinvoke__sparc64__netbsd.cpp) = 0792c2c626d906e71c5183994cb32bf8cdb3e239
SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcstubs__arm__netbsd.cpp) = 3a902eb9a23b3b5737f3c8cb5f96a5ad9a98a189
SHA1 (patch-xpcom_reflect_xptcall_md_unix_xptcstubs__asm__mips.S) = 79a4686d368132aff804f217baa685b2e06bc396
Added files:
Index: pkgsrc/www/firefox52/patches/patch-gfx-ycbcr-chromium_types.h
diff -u /dev/null pkgsrc/www/firefox52/patches/patch-gfx-ycbcr-chromium_types.h:1.1
--- /dev/null Sat May 28 18:31:13 2022
+++ pkgsrc/www/firefox52/patches/patch-gfx-ycbcr-chromium_types.h Sat May 28 18:31:13 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-gfx-ycbcr-chromium_types.h,v 1.1 2022/05/28 18:31:13 martin Exp $
+
+Add preprocessor defines used by gcc/clang on NetBSD for powerpc.
+
+--- gfx/ycbcr/chromium_types.h.orig 2017-04-11 04:13:08.000000000 +0200
++++ gfx/ycbcr/chromium_types.h 2022-05-27 16:59:08.068703784 +0200
+@@ -27,7 +27,7 @@
+ #define ARCH_CPU_ARM_FAMILY 1
+ #define ARCH_CPU_ARMEL 1
+ #define ARCH_CPU_32_BITS 1
+-#elif defined(__ppc__) || defined(__powerpc) || defined(__PPC__)
++#elif defined(__ppc__) || defined(__powerpc) || defined(__powerpc__) || defined(__PPC__)
+ #define ARCH_CPU_PPC_FAMILY 1
+ #define ARCH_CPU_PPC 1
+ #define ARCH_CPU_32_BITS 1
Index: pkgsrc/www/firefox52/patches/patch-js-src-jit-AtomicOperations.h
diff -u /dev/null pkgsrc/www/firefox52/patches/patch-js-src-jit-AtomicOperations.h:1.1
--- /dev/null Sat May 28 18:31:13 2022
+++ pkgsrc/www/firefox52/patches/patch-js-src-jit-AtomicOperations.h Sat May 28 18:31:13 2022
@@ -0,0 +1,24 @@
+$NetBSD: patch-js-src-jit-AtomicOperations.h,v 1.1 2022/05/28 18:31:13 martin Exp $
+
+Add preprocessor defines used by gcc/clang on NetBSD for powerpc.
+
+--- js/src/jit/AtomicOperations.h.orig 2017-04-11 04:13:15.000000000 +0200
++++ js/src/jit/AtomicOperations.h 2022-05-28 20:07:39.621923780 +0200
+@@ -326,7 +326,7 @@ AtomicOperations::isLockfree(int32_t siz
+ # include "jit/arm64/AtomicOperations-arm64.h"
+ #elif defined(JS_CODEGEN_MIPS32) || defined(JS_CODEGEN_MIPS64)
+ # include "jit/mips-shared/AtomicOperations-mips-shared.h"
+-#elif defined(__ppc__) || defined(__PPC__)
++#elif defined(__ppc__) || defined(__PPC__) || defined(__powerpc__)
+ # include "jit/none/AtomicOperations-ppc.h"
+ #elif defined(__sparc__)
+ # include "jit/none/AtomicOperations-sparc.h"
+@@ -337,7 +337,7 @@ AtomicOperations::isLockfree(int32_t siz
+ // C++ realizations of atomics. These operations cannot be written
+ // in portable C++, hence the default here is to crash. See the
+ // top of the file for more guidance.
+-# if defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || defined(__PPC64LE__)
++# if defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || defined(__PPC64LE__) || defined(__powerpc__)
+ # include "jit/none/AtomicOperations-ppc.h"
+ # elif defined(__aarch64__)
+ # include "jit/arm64/AtomicOperations-arm64.h"
Index: pkgsrc/www/firefox52/patches/patch-xpcom_reflect_xptcall_md_unix_moz.build
diff -u /dev/null pkgsrc/www/firefox52/patches/patch-xpcom_reflect_xptcall_md_unix_moz.build:1.1
--- /dev/null Sat May 28 18:31:13 2022
+++ pkgsrc/www/firefox52/patches/patch-xpcom_reflect_xptcall_md_unix_moz.build Sat May 28 18:31:13 2022
@@ -0,0 +1,27 @@
+$NetBSD: patch-xpcom_reflect_xptcall_md_unix_moz.build,v 1.1 2022/05/28 18:31:13 martin Exp $
+
+- NetBSD/macppc reports OS_TEST as powerpc and not macppc
+- Use OpenBSD/powerpc MD stubs for NetBSD/powerpc
+
+--- xpcom/reflect/xptcall/md/unix/moz.build.orig 2022-02-03 04:20:33.000000000 +0000
++++ xpcom/reflect/xptcall/md/unix/moz.build
+@@ -215,13 +215,14 @@ if CONFIG['OS_TEST'] in ('powerpc64', 'p
+ 'xptcstubs_ppc64_linux.cpp',
+ ]
+
+-if CONFIG['OS_TEST'] in ('macppc', 'bebox', 'ofppc', 'prep', 'amigappc'):
++# OpenBSD/powerpc MD code is up to date and fits NetBSD
++if CONFIG['OS_TEST'] in ('powerpc', 'macppc', 'bebox', 'ofppc', 'prep', 'amigappc'):
+ if CONFIG['OS_ARCH'] == 'NetBSD':
+ SOURCES += [
+- 'xptcinvoke_asm_ppc_netbsd.s',
+- 'xptcinvoke_ppc_netbsd.cpp',
+- 'xptcstubs_asm_ppc_netbsd.s',
+- 'xptcstubs_ppc_netbsd.cpp',
++ 'xptcinvoke_asm_ppc_openbsd.S',
++ 'xptcinvoke_ppc_openbsd.cpp',
++ 'xptcstubs_asm_ppc_openbsd.S',
++ 'xptcstubs_ppc_openbsd.cpp',
+ ]
+
+ if CONFIG['OS_ARCH'] == 'OpenBSD' and CONFIG['OS_TEST'] == 'powerpc':
Home |
Main Index |
Thread Index |
Old Index