pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/firefox153
Module Name: pkgsrc
Committed By: gutteridge
Date: Sun Nov 29 21:23:37 UTC 2026
Modified Files:
pkgsrc/www/firefox153: distinfo
Added Files:
pkgsrc/www/firefox153/patches:
patch-build_moz.configure_libraries.configure
Log Message:
firefox153: link directly against librt for shm_open
Related to PR 61079.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/firefox153/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/firefox153/patches/patch-build_moz.configure_libraries.configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/firefox153/distinfo
diff -u pkgsrc/www/firefox153/distinfo:1.9 pkgsrc/www/firefox153/distinfo:1.10
--- pkgsrc/www/firefox153/distinfo:1.9 Tue Nov 24 14:03:54 2026
+++ pkgsrc/www/firefox153/distinfo Sun Nov 29 21:23:36 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2026/11/24 14:03:54 gutteridge Exp $
+$NetBSD: distinfo,v 1.10 2026/11/29 21:23:36 gutteridge Exp $
BLAKE2s (firefox-153.8.0esr.source.tar.xz) = ed304d355364d9881ca337a35cfce27aec50f7c2bada0d44746cfbc7d70fd8f8
SHA512 (firefox-153.8.0esr.source.tar.xz) = b6991b55e4a0bff7320ac5f3db1330ce63e274a9f77c6e7e623713ec05aca8d7433a9acdf3f6e12aa1b2878cd2d2b81e6fe78100a68a5384a2f327e8de5a02ce
@@ -9,6 +9,7 @@ Size (nodejs-output-153.0.tgz) = 247910
SHA1 (patch-browser_app_profile_firefox.js) = f111e03a9c70b6ad5ba64bf95d45302b9256687a
SHA1 (patch-build_gn__processor.py) = 078f773104bf4c1b30584564aefe365db6ba6daf
SHA1 (patch-build_moz.configure_init.configure) = 65deb3c233df0aab81eb1fca05d708e5a4ed169a
+SHA1 (patch-build_moz.configure_libraries.configure) = dfd3ed224bfae175c1e4bc09cfca0776a3e54395
SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678
SHA1 (patch-config_gcc-stl-wrapper.template.h) = f2d19349e2e93c0f82db0a76124103e6ae6bba9d
SHA1 (patch-config_makefiles_rust.mk) = 25eb2d4c99ace2b215917490f28ceb90ab90145f
Added files:
Index: pkgsrc/www/firefox153/patches/patch-build_moz.configure_libraries.configure
diff -u /dev/null pkgsrc/www/firefox153/patches/patch-build_moz.configure_libraries.configure:1.1
--- /dev/null Sun Nov 29 21:23:37 2026
+++ pkgsrc/www/firefox153/patches/patch-build_moz.configure_libraries.configure Sun Nov 29 21:23:37 2026
@@ -0,0 +1,54 @@
+$NetBSD: patch-build_moz.configure_libraries.configure,v 1.1 2026/11/29 21:23:37 gutteridge Exp $
+
+Check for shm_open in librt, needed on at least NetBSD.
+
+--- build/moz.configure/libraries.configure.orig 2026-11-17 21:34:37.000000000 +0000
++++ build/moz.configure/libraries.configure
+@@ -4,6 +4,28 @@
+
+
+ @template
++def check_shm_open(lib=None, when=None):
++ check_msg = "for shm_open"
++ flags = []
++
++ if lib is not None:
++ check_msg += f" in {lib}"
++ flags.append(f"-l{lib}")
++
++ check_when = building_with_gnu_compatible_cc
++ if when is not None:
++ check_when &= when
++
++ return try_link(
++ includes=["sys/types.h", "sys/mman.h", "fcntl.h"],
++ body="shm_open(\"shmtest\", O_RDONLY|O_CREAT, 0444);",
++ check_msg=check_msg,
++ flags=flags,
++ when=check_when,
++ )
++
++
++@template
+ def check_clock_monotonic_support(lib=None, when=None):
+ check_msg = "for clock_gettime(CLOCK_MONOTONIC)"
+ flags = []
+@@ -30,6 +52,9 @@ have_rt_clock_monotonic_support = check_clock_monotoni
+ lib="rt", when=~have_raw_clock_monotonic_support
+ )
+
++have_raw_shm_open = check_shm_open()
++have_rt_shm_open = check_shm_open(lib="rt", when=~have_raw_shm_open)
++
+ set_define(
+ "HAVE_CLOCK_MONOTONIC",
+ have_raw_clock_monotonic_support | have_rt_clock_monotonic_support,
+@@ -39,7 +64,7 @@ set_config(
+ have_raw_clock_monotonic_support | have_rt_clock_monotonic_support,
+ )
+
+-set_config("REALTIME_LIBS", ["-lrt"], when=have_rt_clock_monotonic_support)
++set_config("REALTIME_LIBS", ["-lrt"], when=have_rt_clock_monotonic_support | have_rt_shm_open)
+
+
+ have_res_ninit = try_link(
Home |
Main Index |
Thread Index |
Old Index