summary refs log tree commit diff
path: root/pkgs/applications/misc/synergy/darwin-no-UserNotifications-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/synergy/darwin-no-UserNotifications-includes.patch')
-rw-r--r--pkgs/applications/misc/synergy/darwin-no-UserNotifications-includes.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/misc/synergy/darwin-no-UserNotifications-includes.patch b/pkgs/applications/misc/synergy/darwin-no-UserNotifications-includes.patch
new file mode 100644
index 00000000000..9b37a68b901
--- /dev/null
+++ b/pkgs/applications/misc/synergy/darwin-no-UserNotifications-includes.patch
@@ -0,0 +1,15 @@
+diff --git a/src/gui/src/OSXHelpers.mm b/src/gui/src/OSXHelpers.mm
+index 0c98afc1..38c190a6 100644
+--- a/src/gui/src/OSXHelpers.mm
++++ b/src/gui/src/OSXHelpers.mm
+@@ -20,10 +20,6 @@
+ #import <Foundation/Foundation.h>
+ #import <CoreData/CoreData.h>
+ #import <Cocoa/Cocoa.h>
+-#import <UserNotifications/UNNotification.h>
+-#import <UserNotifications/UNUserNotificationCenter.h>
+-#import <UserNotifications/UNNotificationContent.h>
+-#import <UserNotifications/UNNotificationTrigger.h>
+
+ #import <QtGlobal>
+