diff options
Diffstat (limited to 'desktop/slock/config.mk.patch')
-rw-r--r-- | desktop/slock/config.mk.patch | 25 |
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 0000000000000..7c659ee51dcc9 --- /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 |