summaryrefslogtreecommitdiff
path: root/audio/mixxx21/files/patch-src-util_screensaver.cpp
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2018-12-27 04:16:38 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2018-12-27 04:16:38 +0000
commit1fa24a68ea3111dee2c1c45e6f98f42df94880b4 (patch)
tree577e630609eef5cbe4eaf5008f5bc84c349bf803 /audio/mixxx21/files/patch-src-util_screensaver.cpp
parent- Update to 1.42.0 (diff)
- Copy audio/mixxx to audio/mixxx21. audio/mixxx was updated to latest stable
version. Now this is a previous stable version
Notes
Notes: svn path=/head/; revision=488505
Diffstat (limited to 'audio/mixxx21/files/patch-src-util_screensaver.cpp')
-rw-r--r--audio/mixxx21/files/patch-src-util_screensaver.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/mixxx21/files/patch-src-util_screensaver.cpp b/audio/mixxx21/files/patch-src-util_screensaver.cpp
new file mode 100644
index 000000000000..a05c284ecba3
--- /dev/null
+++ b/audio/mixxx21/files/patch-src-util_screensaver.cpp
@@ -0,0 +1,27 @@
+--- src/util/screensaver.cpp 2018-04-22 02:22:56.333283000 -0500
++++ src/util/screensaver.cpp 2018-04-22 02:24:03.836501000 -0500
+@@ -23,13 +23,13 @@
+ # include "util/mac.h"
+ #elif defined(Q_OS_WIN)
+ # include <windows.h>
+-#elif defined(Q_OS_LINUX)
++#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
+ # include <QtDBus>
+ #elif HAVE_XSCREENSAVER_SUSPEND
+ # include <X11/extensions/scrnsaver.h>
+ #endif // Q_OS_WIN
+
+-#if defined(Q_OS_LINUX) || HAVE_XSCREENSAVER_SUSPEND
++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || HAVE_XSCREENSAVER_SUSPEND
+ # define None XNone
+ # define Window XWindow
+ # include <X11/Xlib.h>
+@@ -140,7 +140,7 @@
+ s_enabled = false;
+ }
+
+-#elif defined(Q_OS_LINUX)
++#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
+ const char *SCREENSAVERS[][4] = {
+ // org.freedesktop.ScreenSaver is the standard. should work for gnome and kde too,
+ // but I add their specific names too