aboutsummaryrefslogtreecommitdiff
path: root/libnsfb/patches/010-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libnsfb/patches/010-flags.patch')
-rw-r--r--libnsfb/patches/010-flags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libnsfb/patches/010-flags.patch b/libnsfb/patches/010-flags.patch
new file mode 100644
index 0000000..6dad1ac
--- /dev/null
+++ b/libnsfb/patches/010-flags.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2010-10-10 05:26:39.439706253 +0200
++++ b/Makefile 2010-10-10 05:27:16.699713741 +0200
+@@ -16,7 +16,7 @@
+ -Wmissing-declarations -Wnested-externs -Werror -pedantic \
+ -Wno-overlength-strings # For nsglobe.c
+ CFLAGS := -g -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \
+- -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
++ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) $(CPPFLAGS)
+
+ # TODO: probably want to retrieve SDL from pkg-config
+ TESTLDFLAGS = -Wl,--whole-archive -l$(COMPONENT) -Wl,--no-whole-archive -lSDL -lxcb-icccm -lxcb -lxcb-image -lxcb-keysyms