update to slock 1.1

sneak in same non-default color (scheme) used in other suckless ports
(x11/dwm and x11/tabbed)

ok gsoares@ landry@
This commit is contained in:
zinke 2012-10-30 17:14:53 +00:00
parent c8f761a689
commit 6c14565c43
3 changed files with 10 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.9 2012/03/15 13:12:43 gsoares Exp $
# $OpenBSD: Makefile,v 1.10 2012/10/30 17:14:53 zinke Exp $
COMMENT= simple X screen locker
DISTNAME= slock-1.0
DISTNAME= slock-1.1
CATEGORIES= x11

View File

@ -1,5 +1,2 @@
MD5 (slock-1.0.tar.gz) = mFA/Da5azBXJC4H/1CP5hw==
RMD160 (slock-1.0.tar.gz) = P8GqbGqum/ulkEmkTwMwvvcC8t8=
SHA1 (slock-1.0.tar.gz) = OM74UD1RIlLo8/gnUgDoApkIksU=
SHA256 (slock-1.0.tar.gz) = tORP8WYPb36ycKBXXWrh4Pv/zwzdloYKFpXVfomuLfk=
SIZE (slock-1.0.tar.gz) = 4313
SHA256 (slock-1.1.tar.gz) = 4ErlBwxkbHglF4DThuFNFv0QA2fod91c9hbceu3Q4OQ=
SIZE (slock-1.1.tar.gz) = 4604

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-config_mk,v 1.5 2012/03/15 13:12:43 gsoares Exp $
--- config.mk.orig Sat Feb 11 07:51:37 2012
+++ config.mk Wed Mar 14 13:56:11 2012
@@ -4,27 +4,26 @@ VERSION = 1.0
$OpenBSD: patch-config_mk,v 1.6 2012/10/30 17:14:53 zinke Exp $
--- config.mk.orig Thu Oct 25 21:00:04 2012
+++ config.mk Sun Oct 28 19:34:29 2012
@@ -4,27 +4,26 @@ VERSION = 1.1
# Customize below to fit your system
# paths
@ -20,10 +20,10 @@ $OpenBSD: patch-config_mk,v 1.5 2012/03/15 13:12:43 gsoares Exp $
+LIBS = -L${X11LIB} -lX11 -lXext
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
-CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H -DCOLOR1=\"black\" -DCOLOR2=\"\#005577\"
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -s ${LIBS}
+CFLAGS += ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_BSD_AUTH
+CFLAGS += ${INCS} -DVERSION=\"${VERSION}\" -DCOLOR1=\"black\" -DCOLOR2=\"\#404040\" -DHAVE_BSD_AUTH
+LDFLAGS += ${LIBS}
# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH