disable cog-spur
[oi-userland.git] / components / library / dbus / patches / 11-socketpair.patch
blob5c9b80df8476b3886583cd3311aa7895b930341b
1 socketpair() is not in libc on illumos
3 _dbus_socketpair() not implemented on this OS
4 Unable to create reload pipe: _dbus_socketpair() not implemented on this OS
6 --- dbus-1.14.10/configure.ac.orig 2023-09-01 16:30:58.000000000 +0200
7 +++ dbus-1.14.10/configure.ac 2024-01-13 20:05:39.649204590 +0100
8 @@ -405,7 +405,6 @@
9 setlocale
10 setresuid
11 setrlimit
12 -socketpair
13 strtoll
14 strtoull
15 unsetenv
16 @@ -632,6 +631,11 @@
17 AC_SEARCH_LIBS(socket,[socket network])
18 AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
20 +AC_CHECK_FUNCS([socketpair], [],
21 + [AC_SEARCH_LIBS([socketpair], [socket],
22 + [AC_DEFINE([HAVE_SOCKETPAIR], [1],
23 + [Have socketpair function])])])
25 AC_CHECK_HEADERS([syslog.h])
26 if test "x$ac_cv_header_syslog_h" = "xyes"; then
27 AC_CHECK_DECLS([LOG_PERROR], [], [], [[#include <syslog.h>]])