[Pkg-gnupg-commit] [gnupg2] 83/118: g10: Temporary hack to repalce missing sqrtu32.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 15 18:25:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch encoding-and-speling
in repository gnupg2.

commit c894fa8d375e94d5577249c729e48ce882c07a56
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Sep 7 08:40:18 2016 +0200

    g10: Temporary hack to repalce missing sqrtu32.
    
    --
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 g10/Makefile.am | 3 ++-
 g10/tofu.c      | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/g10/Makefile.am b/g10/Makefile.am
index 7b87e6a..95944b8 100644
--- a/g10/Makefile.am
+++ b/g10/Makefile.am
@@ -74,7 +74,8 @@ trust_source = trustdb.c trustdb.h tdbdump.c tdbio.c tdbio.h
 endif
 
 if USE_TOFU
-tofu_source = tofu.h tofu.c gpgsql.c gpgsql.h sqrtu32.c sqrtu32.h
+tofu_source = tofu.h tofu.c gpgsql.c gpgsql.h
+#sqrtu32.c sqrtu32.h
 else
 tofu_source =
 endif
diff --git a/g10/tofu.c b/g10/tofu.c
index 9e07d21..3dc0365 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -41,7 +41,9 @@
 #include "mkdir_p.h"
 #include "gpgsql.h"
 #include "status.h"
-#include "sqrtu32.h"
+/* #include "sqrtu32.h" */
+#define sqrtu32(a)  (a)  /* TEMP hack due to missing commit.  */
+
 
 #include "tofu.h"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list