summaryrefslogtreecommitdiff
path: root/x11/workrave/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'x11/workrave/files/patch-configure')
-rw-r--r--x11/workrave/files/patch-configure39
1 files changed, 39 insertions, 0 deletions
diff --git a/x11/workrave/files/patch-configure b/x11/workrave/files/patch-configure
new file mode 100644
index 000000000000..0596b2241f71
--- /dev/null
+++ b/x11/workrave/files/patch-configure
@@ -0,0 +1,39 @@
+--- configure.orig
++++ configure
+@@ -19237,36 +19237,6 @@
+ enable_monitors="${enable_monitors}x11events"
+ fi
+
+- loop=${enable_monitors},
+-
+- while echo $loop | grep \, &> /dev/null
+- do
+- monitor=${loop%%\,*}
+- loop=${loop#*\,}
+-
+- case "$monitor" in
+- record)
+- if test "x$have_xrecord" != "xyes" ; then
+- as_fn_error $? "record activity monitor not supported." "$LINENO" 5
+- fi
+- ;;
+-
+- x11events)
+- ;;
+-
+- screensaver)
+- if test "x$have_xscreensaver" != "xyes" ; then
+- as_fn_error $? "screensaver activity monitor not supported." "$LINENO" 5
+- fi
+- ;;
+-
+- *)
+- as_fn_error $? "unknown activity monitor: $monitor" "$LINENO" 5
+- ;;
+-
+- esac
+- done
+-
+
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_MONITORS "$enable_monitors"