aboutsummaryrefslogtreecommitdiff
path: root/desktop/bar/patches/bar-Makefile-CFLAGS.patch
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2014-03-27 14:07:04 -0500
committerErik Hanson <erik@slackbuilds.org>2014-04-12 13:59:47 -0500
commite7695c5163dc2e7abd8e1b8e49a0e47604ca3958 (patch)
tree7425bc003a60c89895b3740602a723c185ef1a91 /desktop/bar/patches/bar-Makefile-CFLAGS.patch
parent6a8c7f714423fd3a94d2e8bb368679494a7c1b93 (diff)
desktop/bar: Added (lightweight bar based on XCB)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/bar/patches/bar-Makefile-CFLAGS.patch')
-rw-r--r--desktop/bar/patches/bar-Makefile-CFLAGS.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/bar/patches/bar-Makefile-CFLAGS.patch b/desktop/bar/patches/bar-Makefile-CFLAGS.patch
new file mode 100644
index 0000000000000..bef2cba8fff64
--- /dev/null
+++ b/desktop/bar/patches/bar-Makefile-CFLAGS.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index ff620a8..01b6bf9 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,6 +1,7 @@
+ CC ?= gcc
+ STRIP ?= strip
+-CFLAGS = -std=c99 -Os
++CFLAGS ?= -Os
++CFLAGS += -std=c99
+ LDFLAGS = -lxcb -lxcb-xinerama -lxcb-randr
+ CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long\
+ -Wsign-conversion -Wconversion -Wimplicit-function-declaration