Control: tags -1 patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* httpfs2.c: Pass -D_POSIX_C_SOURCE=200112L to CPPFLAGS to fix FTBFS due to
implicit declarations.
Thanks for considering the patch.
Logan Rosen
diff -u httpfs2-0.1.4/Makefile httpfs2-0.1.4/Makefile
--- httpfs2-0.1.4/Makefile
+++ httpfs2-0.1.4/Makefile
@@ -1,6 +1,6 @@
CC=gcc -g
CFLAGS := -Os -Wall $(shell pkg-config fuse --cflags)
-CPPFLAGS := -Wall -DUSE_AUTH -D_XOPEN_SOURCE=500 -D_ISOC99_SOURCE
+CPPFLAGS := -Wall -DUSE_AUTH -D_XOPEN_SOURCE=500 -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112L
THR_CPPFLAGS := -DUSE_THREAD
THR_LDFLAGS := -lpthread
SSL_CPPFLAGS := -DUSE_SSL $(shell pkg-config openssl --cflags)