Update CFLAGS patch
[netsurf-overlay.git] / dev-libs / libnsfb / files / libnsfb-0.1.1-CFLAGS.patch
blob5fc5a65c945217c297cbab08bb00f5bcefc73fc2
1 File a/.ipc_in is a fifo while file b/.ipc_in is a fifo
2 File a/.ipc_out is a fifo while file b/.ipc_out is a fifo
3 diff -rupN a/libnsfb-0.1.1/Makefile b/libnsfb-0.1.1/Makefile
4 --- a/libnsfb-0.1.1/Makefile 2014-04-18 07:17:55.000000000 -0400
5 +++ b/libnsfb-0.1.1/Makefile 2014-08-02 15:09:26.005676760 -0400
6 @@ -20,7 +20,7 @@ WARNFLAGS := -Wall -Wextra -Wundef -Wpoi
7 # would like these flags but gcc earlier than 4.4 fail
8 #-pedantic -Wno-overlength-strings # For nsglobe.c
10 -CFLAGS := -g -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L \
11 +CFLAGS := -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L \
12 -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) -Wno-error
14 NSFB_XCB_PKG_NAMES := xcb xcb-icccm xcb-image xcb-keysyms xcb-atom