diff -Nru a/ldap/servers/slapd/ssl.c b/ldap/servers/slapd/ssl.c
--- a/ldap/servers/slapd/ssl.c 2016-05-18 19:35:32.000000000 +0200
+++ b/ldap/servers/slapd/ssl.c 2016-05-28 21:59:44.893347003 +0200
@@ -1287,7 +1287,7 @@
{
PRErrorCode errorCode;
int rv = 0;
-#ifdef WITH_SYSTEMD
+#ifndef WITH_SYSTEMD
SVRCOREStdSystemdPinObj *StdPinObj;
StdPinObj = (SVRCOREStdSystemdPinObj *)SVRCORE_GetRegisteredPinObj();
#else
@@ -1298,7 +1298,7 @@
if (StdPinObj) {
return 0; /* already registered */
}
-#ifdef WITH_SYSTEMD
+#ifndef WITH_SYSTEMD
if ( SVRCORE_CreateStdSystemdPinObj(&StdPinObj, dongle_file_name, PR_TRUE, PR_TRUE, 90) != SVRCORE_Success) {
#else
if ( SVRCORE_CreateStdPinObj(&StdPinObj, dongle_file_name, PR_TRUE) != SVRCORE_Success) {
389-ds-base-1.3.5.4 doesn't build on Mageia
Altlinux reported the same problem with 389-ds-base-1.3.5.3
This is the error:
/libslapd_la-ssl.o
ldap/servers/slapd/ssl.c: In function 'svrcore_setup':
ldap/servers/slapd/ssl.c:1291:5: error: unknown type name 'SVRCOREStdSystemdPinObj'
SVRCOREStdSystemdPinObj *StdPinObj;
^
ldap/servers/slapd/ssl.c:1292:18: error: 'SVRCOREStdSystemdPinObj' undeclared (first use in this function)
StdPinObj = (SVRCOREStdSystemdPinObj *)SVRCORE_GetRegisteredPinObj();
See log http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20160528191035.spuhler.duvel.44896/log/389-ds-base-1.3.5.4-1.mga6/build.0.20160528191128.log
The attached patch makes it build
--
Best regards
Thomas Spuhler
All of my e-mails have a valid digital signature
ID 60114E63
No comments:
Post a Comment