diff options
author | Симон Болоканов <sbolokanov@abv.bg> | 2014-09-14 17:38:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-14 17:38:33 +0700 |
commit | ba078310c94b2f616f0f7a264f1cd235554c7c7b (patch) | |
tree | 413357c8da6663e1bec0fe2e7a5e4e3f3e84dbc6 /desktop/dmenu2/dmenu2-0.2-config-fix.diff | |
parent | 1edbc8b082cb52f768d7710378c0f92831f8e784 (diff) | |
download | slackbuilds-ba078310c94b2f616f0f7a264f1cd235554c7c7b.tar.gz |
desktop/dmenu2: Added (dynamic menu extended).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/dmenu2/dmenu2-0.2-config-fix.diff')
-rw-r--r-- | desktop/dmenu2/dmenu2-0.2-config-fix.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/desktop/dmenu2/dmenu2-0.2-config-fix.diff b/desktop/dmenu2/dmenu2-0.2-config-fix.diff new file mode 100644 index 0000000000..dd4316a847 --- /dev/null +++ b/desktop/dmenu2/dmenu2-0.2-config-fix.diff @@ -0,0 +1,30 @@ +--- config.mk 2014-09-13 18:36:13.478755045 +0300 ++++ a/config.mk 2014-09-13 18:36:18.552755303 +0300 +@@ -1,9 +1,10 @@ + # dmenu2 version +-VERSION = 0.1 ++VERSION = 0.2 + + # paths + PREFIX = /usr/local + MANPREFIX = ${PREFIX}/share/man ++LIBDIR = /usr/local/lib + + X11INC = /usr/X11R6/include + X11LIB = /usr/X11R6/lib +@@ -18,12 +19,13 @@ + + # includes and libs + INCS = -I${X11INC} ${XFTINC} +-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${XFTLIBS} ++LIBS = -L${LIBDIR} -L${X11LIB} -lX11 ${XINERAMALIBS} ${XFTLIBS} + + # flags ++OPTS ?= 0s + CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} + #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} ++CFLAGS = -std=c99 -pedantic -Wall ${OPTS} ${INCS} ${CPPFLAGS} + LDFLAGS = -s ${LIBS} + + # compiler and linker |