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, 6 insertions, 5 deletions
diff --git a/desktop/slock/patches/config.mk.patch b/desktop/slock/patches/config.mk.patch
index b1c5821101..3e74412295 100644
--- a/desktop/slock/patches/config.mk.patch
+++ b/desktop/slock/patches/config.mk.patch
@@ -1,11 +1,12 @@
---- 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 @@
+diff -Nur slock-1.4.orig/config.mk slock-1.4/config.mk
+--- slock-1.4.orig/config.mk 2016-11-19 18:31:23.000000000 -0600
++++ slock-1.4/config.mk 2017-05-14 20:23:33.114633934 -0500
+@@ -16,7 +16,7 @@
# flags
- CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
+ CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_SHADOW_H
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CFLAGS = @SLACKCFLAGS@ -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
+ COMPATSRC = explicit_bzero.c
- # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH