Репозитории ALT
S: | 2.6.4-alt1 |
5.1: | 2.3.43-alt2.3 |
4.1: | 2.3.41-alt3.M41.3 |
4.0: | 2.3.35-alt1.M40.1 |
3.0: | 2.2.27-alt1.1 |
Группа :: Система/Серверы
Пакет: openldap
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: openldap-2.3.43-fix-ucred.patch
Скачать
Скачать
--- openldap-2.3.43/configure.in.orig 2008-02-11 23:24:06 +0000
+++ openldap-2.3.43/configure.in 2008-12-12 10:12:14 +0000
@@ -929,6 +929,16 @@ AC_CHECK_HEADERS( sys/ucred.h, [], [],
#include <sys/param.h>
#endif
])
+dnl Check whether ucred is defined without _GNU_SOURCE
+AC_MSG_CHECKING(for struct ucred)
+AC_TRY_LINK([
+#include <sys/ucred.h>
+#include <sys/socket.h>
+],[
+struct ucred sucred; sucred.pid=0;
+],[has_ucred=yes],[has_ucred=no])
+AC_MSG_RESULT($has_ucred)
+if test ${has_ucred} = no ; then CFLAGS="$CFLAGS -D_GNU_SOURCE"; fi
dnl ----------------------------------------------------------------
dnl Checks for libraries