Source: tcp-wrappers Severity: normal Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
Patch for building tcp-wrappers with musl. It is the same patch that has been applied by other projects: https://raw.githubusercontent.com/openembedded/openembedded-core/master/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/musl-decls.patch http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/musl-decls.patch
--- tcp-wrappers-7.6.q.orig/tcpd.h +++ tcp-wrappers-7.6.q/tcpd.h @@ -11,7 +11,9 @@ #include <netinet/in.h> #include <stdio.h> -__BEGIN_DECLS +#ifdef __cplusplus +extern "C" { +#endif /* Structure to describe one communications endpoint. */ @@ -252,6 +254,8 @@ extern char *fix_strtok(); extern char *my_strtok(); #endif -__END_DECLS +#ifdef __cplusplus +} +#endif #endif