tags 765288 + patch thanks Hi,
On 13/10/14 23:15, Sebastian Ramacher wrote: > hubicfuse failed to build on kfreebsd-* with: > | gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security > -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse > -I/usr/include/json-c -o hubicfuse cloudfsapi.c cloudfuse.c -lxml2 -lcurl > -lfuse -pthread -lssl -lcrypto -ljson-c > | In file included from /usr/include/fuse/fuse.h:26:0, > | from cloudfsapi.c:21: > | /usr/include/fuse/fuse_common.h:474:8: error: #error On FreeBSD API version > 25 or greater must be used > | # error On FreeBSD API version 25 or greater must be used > | ^ > | make[1]: *** [hubicfuse] Error 1 > > See > https://buildd.debian.org/status/fetch.php?pkg=hubicfuse&arch=kfreebsd-amd64&ver=1.1.0-1&stamp=1411982875 > for a full build log. cloudfuse.c defines FUSE_USE_VERSION 26, but cloudfsapi.c forgot to set a version at all. The fix is obvious and simple, patch attached! Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org
From: Steven Chamberlain <ste...@pyro.eu.org> Subject: Remember to define FUSE version before including fuse.h --- cloudfsapi.c.orig 2014-08-14 08:37:46.000000000 +0100 +++ cloudfsapi.c 2014-10-21 23:03:18.428736280 +0100 @@ -18,6 +18,7 @@ #include <json.h> #include "cloudfsapi.h" #include "config.h" +#define FUSE_USE_VERSION 26 #include <fuse.h> #define RHEL5_LIBCURL_VERSION 462597
signature.asc
Description: OpenPGP digital signature