aboutsummaryrefslogtreecommitdiff
path: root/desktop/slock/config.mk.patch
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@gmail.com>2010-05-12 23:28:21 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:28:21 +0200
commit2b010ce19c23d3a16140c6e15ffc61ec781afcf2 (patch)
treebab9a903c40124325dee6bc25d13f5dc3189a601 /desktop/slock/config.mk.patch
parent1d0648b6256561d2c47d65644768de0dcb288100 (diff)
desktop/slock: Added to 12.2 repository
Diffstat (limited to 'desktop/slock/config.mk.patch')
-rw-r--r--desktop/slock/config.mk.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/desktop/slock/config.mk.patch b/desktop/slock/config.mk.patch
new file mode 100644
index 000000000000..7c659ee51dcc
--- /dev/null
+++ b/desktop/slock/config.mk.patch
@@ -0,0 +1,25 @@
+--- a/config.mk 2009-01-01 02:25:45.983700591 -0600
++++ b/config.mk 2009-01-01 02:27:16.479701293 -0600
+@@ -4,10 +4,10 @@
+ # Customize below to fit your system
+
+ # paths
+-PREFIX = /usr/local
++PREFIX = /usr
+
+-X11INC = /usr/X11R6/include
+-X11LIB = /usr/X11R6/lib
++X11INC = /usr/include/X11
++X11LIB = /usr/lib/X11
+
+ # includes and libs
+ INCS = -I. -I/usr/include -I${X11INC}
+@@ -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 -Os ${INCS} ${CPPFLAGS}
+ LDFLAGS = -s ${LIBS}
+
+ # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH