summaryrefslogtreecommitdiff
path: root/x11-misc/i3lock/files/i3lock-2.12-fno-common.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/i3lock/files/i3lock-2.12-fno-common.patch')
-rw-r--r--x11-misc/i3lock/files/i3lock-2.12-fno-common.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/i3lock/files/i3lock-2.12-fno-common.patch b/x11-misc/i3lock/files/i3lock-2.12-fno-common.patch
new file mode 100644
index 000000000000..09003b165919
--- /dev/null
+++ b/x11-misc/i3lock/files/i3lock-2.12-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/unlock_indicator.c
++++ b/unlock_indicator.c
+@@ -35,7 +35,7 @@
+
+ /* The current position in the input buffer. Useful to determine if any
+ * characters of the password have already been entered or not. */
+-int input_position;
++extern int input_position;
+
+ /* The lock window. */
+ extern xcb_window_t win;