summaryrefslogtreecommitdiff
path: root/desktop/slock/patches/config.mk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/slock/patches/config.mk.patch')
-rw-r--r--desktop/slock/patches/config.mk.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/slock/patches/config.mk.patch b/desktop/slock/patches/config.mk.patch
new file mode 100644
index 0000000000..b1c5821101
--- /dev/null
+++ b/desktop/slock/patches/config.mk.patch
@@ -0,0 +1,11 @@
+--- slock-1.2/config.mk.orig 2014-12-22 11:18:07.000000000 +0100
++++ slock-1.2/config.mk 2015-03-01 16:50:44.945646629 +0100
+@@ -15,7 +15,7 @@
+
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
++CFLAGS = @SLACKCFLAGS@ -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
+ LDFLAGS = -s ${LIBS}
+
+ # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH