mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
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:
@@ -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) {
|
||||
Reference in New Issue
Block a user