Mathieu had been sending me a temporary fix regarding this issue.

I didn't apply it cause I didn't hit the issue, but looks like it may be
useful to you.

Cheers,
Julien.

On Tue, 2012-02-28 at 08:31 +0100, Milan Crha wrote:
> On Mon, 2012-02-27 at 13:04 +0100, Julien Kerihuel wrote:
> > The svn mirror was outdated, just synchronized it back. svn up should
> > now point you to the latest revision.
> 
>       Hi,
> yup, it works now. I've a problem building openchange, though, thus my
> feedback will take longer, till it's sorted out. I filed a bug in samba4
> bugzilla [1], but maybe it's not entirely their issue. Note I did a
> clean checkout and built into a clean $PREFIX, with "make samba", like I
> did in the previous version, with alpha17, if I recall correctly, and I
> do not pass any special arguments to openchange's configure.
>       Bye,
>       Milan
> 
> [1] https://bugzilla.samba.org/show_bug.cgi?id=8782
> 
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel

From c432b5aa4f15be3a1743023ebe7039d80d3ce298 Mon Sep 17 00:00:00 2001
From: Matthieu Patou <[email protected]>
Date: Fri, 17 Feb 2012 09:51:56 -0800
Subject: [PATCH] DONOTPUSH: temporary fix for ccan dependency on source3/lib/util.c

Remove the need of hash_any in this code so that we don't ends up with
symbols problems.
---
 source3/lib/util.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/source3/lib/util.c b/source3/lib/util.c
index 2e432ab..5be15f6 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -28,7 +28,7 @@
 #include "ctdbd_conn.h"
 #include "../lib/util/util_pw.h"
 #include "messages.h"
-#include <ccan/hash/hash.h>
+//#include <ccan/hash/hash.h>
 #include "libcli/security/security.h"
 
 #ifdef HAVE_SYS_PRCTL_H
@@ -1357,9 +1357,8 @@ const char *tab_depth(int level, int depth)
 
 int str_checksum(const char *s)
 {
-	if (s == NULL)
-		return 0;
-	return hash(s, strlen(s), 0);
+       TDB_DATA key = string_tdb_data(s);
+       return tdb_jenkins_hash(&key);
 }
 
 /*****************************************************************
-- 
1.7.0.4

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to