ports/www/c-icap/modules/patches/patch-configure_ac

19 lines
549 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -300,14 +300,12 @@ AC_TRY_COMPILE(
#include <sys/un.h>
],
[
- int main(int argc, char **argv) {
struct msghdr mh;
struct cmsghdr cmh;
mh.msg_control = NULL;
mh.msg_controllen = 0;
cmh.cmsg_level = SOL_SOCKET;
cmh.cmsg_type = SCM_RIGHTS;
- }
],
AC_DEFINE(HAVE_FD_PASSING,1,[Define HAVE_FD_PASSING if sending fd through unix socket supported])
AC_MSG_RESULT(yes),