pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/palemoon
Module Name: pkgsrc
Committed By: martin
Date: Tue Sep 17 06:24:18 UTC 2024
Modified Files:
pkgsrc/www/palemoon: Makefile distinfo
Added Files:
pkgsrc/www/palemoon/patches: patch-platform_media_libjpeg_moz.build
patch-platform_xpcom_reflect_xptcall_md_unix_moz.build
Log Message:
Make palemoon build on NetBSD/macppc.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/palemoon/Makefile \
pkgsrc/www/palemoon/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build \
pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/palemoon/Makefile
diff -u pkgsrc/www/palemoon/Makefile:1.10 pkgsrc/www/palemoon/Makefile:1.11
--- pkgsrc/www/palemoon/Makefile:1.10 Sun Sep 15 06:15:43 2024
+++ pkgsrc/www/palemoon/Makefile Tue Sep 17 06:24:18 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2024/09/15 06:15:43 nia Exp $
+# $NetBSD: Makefile,v 1.11 2024/09/17 06:24:18 martin Exp $
# for build instructions see
# https://developer.palemoon.org/build/linux/
@@ -148,6 +148,7 @@ post-install:
.if ${OPSYS} == "Linux"
. include "../../audio/alsa-lib/buildlink3.mk"
.endif
+.include "../../mk/atomic64.mk"
.include "../../devel/GConf/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
Index: pkgsrc/www/palemoon/distinfo
diff -u pkgsrc/www/palemoon/distinfo:1.10 pkgsrc/www/palemoon/distinfo:1.11
--- pkgsrc/www/palemoon/distinfo:1.10 Fri Sep 13 13:48:17 2024
+++ pkgsrc/www/palemoon/distinfo Tue Sep 17 06:24:18 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2024/09/13 13:48:17 nia Exp $
+$NetBSD: distinfo,v 1.11 2024/09/17 06:24:18 martin Exp $
BLAKE2s (palemoon-33.3.1/palemoon.tar.gz) = c62225d8c487edddcfb5c2ea544ea87accc48556351610593a339d1ab765f7d5
SHA512 (palemoon-33.3.1/palemoon.tar.gz) = b9dc0c0f65afc818fc4b5a5483893a8a87685405df3d8b4bf3b557c237eb8f3c75490e8a61305d367aebbd325bd419ad8dd9798c6a9bc77e48d061febaf31c88
@@ -20,6 +20,7 @@ SHA1 (patch-platform_js_src_vm_ArrayBuff
SHA1 (patch-platform_media_libaom_config_linux_arm_config_aom__config.h) = 69ef22fe9892c2288accb6eb00b4533d8cee0299
SHA1 (patch-platform_media_libcubeb_src_cubeb__sun.c) = ce27774d772d65fa60b6be5bee82fbe4f787f3d1
SHA1 (patch-platform_media_libcubeb_src_moz.build) = 5f9f7656bf9d251edb395cb19fae8cd614c0b287
+SHA1 (patch-platform_media_libjpeg_moz.build) = 99e81b8ef66472588bced49ace1c598d465c3722
SHA1 (patch-platform_media_libtheora_moz.build) = a7bad662dabb87c6a85542a4a50f8ed693064bc6
SHA1 (patch-platform_media_libvpx_config_linux_arm_vpx__config.h) = a580208cd342d7dc27985118e1707772e0cccf02
SHA1 (patch-platform_nsprpub_pr_include_md__netbsd.cfg) = 1dc06ad2dc49eb3297dc0651dce546cff6882f7b
@@ -29,5 +30,6 @@ SHA1 (patch-platform_security_generate__
SHA1 (patch-platform_toolkit_components_protobuf_src_google_protobuf_stubs_atomicops.h) = 73b57772d29b0567c0aa1faea8a3f345dbc0488a
SHA1 (patch-platform_toolkit_components_protobuf_src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = 2a5ccc95fb5860b1be97947f3aee8307f4a25bc1
SHA1 (patch-platform_toolkit_xre_nsX11ErrorHandler.cpp) = 164d93a5b1aaeba15b524fdaef0483b4a9400ac1
+SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_moz.build) = ba7f59d59a8ddaba353c2049fa274f85d722eef1
SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_xptcinvoke__arm__netbsd.cpp) = 5b6a5c6eea2668cc5eaaf775400c382114876d86
SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_xptcstubs__arm__netbsd.cpp) = de7188f7ac09fd3d4a65968a12ae324b3a0415c4
Added files:
Index: pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build
diff -u /dev/null pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build:1.1
--- /dev/null Tue Sep 17 06:24:18 2024
+++ pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build Tue Sep 17 06:24:18 2024
@@ -0,0 +1,20 @@
+$NetBSD: patch-platform_media_libjpeg_moz.build,v 1.1 2024/09/17 06:24:18 martin Exp $
+
+Hard-code compiler flags for altivec support to -maltivec
+instead of the undefined config list PPC_VMX_FLAGS.
+
+This matches other places where -maltivec is used, like:
+ platform/gfx/cairo/libpixman/src/moz.build
+ platform/gfx/qcms/moz.build
+
+--- platform/media/libjpeg/moz.build.orig 2024-09-05 10:13:09.000000000 +0200
++++ platform/media/libjpeg/moz.build 2024-09-15 20:36:37.420052767 +0200
+@@ -240,7 +240,7 @@
+ 'simd/powerpc/jsimd.c',
+ ]
+ for srcfile in ppc_vmx_sources:
+- SOURCES[srcfile].flags += CONFIG['PPC_VMX_FLAGS']
++ SOURCES[srcfile].flags += ['-maltivec']
+ else: # No SIMD support?
+ SOURCES += [
+ 'jsimd_none.c',
Index: pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build
diff -u /dev/null pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build:1.1
--- /dev/null Tue Sep 17 06:24:18 2024
+++ pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build Tue Sep 17 06:24:18 2024
@@ -0,0 +1,29 @@
+--- platform/xpcom/reflect/xptcall/md/unix/moz.build.orig 2024-07-10 10:54:53.000000000 +0200
++++ platform/xpcom/reflect/xptcall/md/unix/moz.build 2024-08-05 17:46:31.162024930 +0200
+@@ -136,7 +136,7 @@
+ ]
+
+ if CONFIG['OS_TEST'] == 'powerpc':
+- if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD'):
++ if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD', 'NetBSD'):
+ SOURCES += [
+ 'xptcinvoke_asm_ppc_linux.S',
+ 'xptcinvoke_ppc_linux.cpp',
+@@ -145,7 +145,7 @@
+ ]
+
+ if CONFIG['OS_TEST'] in ('powerpc64', 'powerpc64le'):
+- if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD'):
++ if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD', 'NetBSD'):
+ SOURCES += [
+ 'xptcinvoke_asm_ppc64_linux.S',
+ 'xptcinvoke_ppc64_linux.cpp',
+@@ -198,7 +198,7 @@
+ # files for 64-bit SPARC with no ill effects, so basically the entire mess that
+ # was there before is no longer needed.
+
+-if CONFIG['OS_ARCH'] in ('OpenBSD', 'FreeBSD', 'SunOS', 'Linux') and CONFIG['OS_TEST'] == 'sparc64':
++if CONFIG['OS_ARCH'] in ('NetBSD', 'OpenBSD', 'FreeBSD', 'SunOS', 'Linux') and CONFIG['OS_TEST'] == 'sparc64':
+ SOURCES += [
+ 'xptcinvoke_asm_sparc64_openbsd.s',
+ 'xptcinvoke_sparc64_openbsd.cpp',
Home |
Main Index |
Thread Index |
Old Index