www/mozilla-firefox: fix notifications by dlopening the right libnotify.so

broke in the 144 update, reported by edd@ and Laurie Tratt, thanks !

cf #1999324
This commit is contained in:
landry
2025-11-16 07:11:26 +00:00
parent 3d48033b28
commit 540cc7d2cf
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ ONLY_FOR_ARCHS = amd64 aarch64 riscv64
# Don't forget to bump www/firefox-i18n after updates.
MOZILLA_VERSION = 145.0
REVISION = 0
MOZILLA_BRANCH = release
MOZILLA_PROJECT = firefox
MOZILLA_CODENAME = browser
@@ -0,0 +1,14 @@
https://bugzilla.mozilla.org/show_bug.cgi?id=1999324
Index: toolkit/system/gnome/nsAlertsIconListener.cpp
--- toolkit/system/gnome/nsAlertsIconListener.cpp.orig
+++ toolkit/system/gnome/nsAlertsIconListener.cpp
@@ -114,7 +114,7 @@ nsAlertsIconListener::nsAlertsIconListener(
mBackend(aBackend),
mAlertNotification(aAlertNotification) {
if (!libNotifyHandle && !libNotifyNotAvail) {
- libNotifyHandle = dlopen("libnotify.so.4", RTLD_LAZY);
+ libNotifyHandle = dlopen("libnotify.so", RTLD_LAZY);
if (!libNotifyHandle) {
libNotifyHandle = dlopen("libnotify.so.1", RTLD_LAZY);
if (!libNotifyHandle) {