blueness    15/07/11 15:07:52

  Added:                0.9.0-sys_leveldb.patch
  Log:
  Version bump.  Bug #554176.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.1                  net-p2p/litecoin-qt/files/0.9.0-sys_leveldb.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoin-qt/files/0.9.0-sys_leveldb.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoin-qt/files/0.9.0-sys_leveldb.patch?rev=1.1&content-type=text/plain

Index: 0.9.0-sys_leveldb.patch
===================================================================
commit c38e0af3e021eb0b2aba846c77b06ca71de06b11 (personal-github/sys_leveldb, 
sys_leveldb)
Author: Luke Dashjr <luke-jr+...@utopios.org>
Date:   Mon Sep 9 03:06:17 2013 +0000

    configure: Add unsupported --with-system-leveldb configure flag

diff --git a/configure.ac b/configure.ac
index 3ed4549..5a5852d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -332,10 +332,22 @@ AC_TRY_COMPILE([#include <sys/socket.h>],
  [ AC_MSG_RESULT(no)]
 )
 
+dnl Check for leveldb, only if explicitly requested
 LEVELDB_CPPFLAGS=
 LIBLEVELDB=
 LIBMEMENV=
-AM_CONDITIONAL([EMBEDDED_LEVELDB],[true])
+AC_ARG_WITH([system-leveldb],
+  [AS_HELP_STRING([--with-system-leveldb],
+  [Build with system LevelDB (default is no; DANGEROUS; NOT SUPPORTED)])],
+  [system_leveldb=$withval],
+  [system_leveldb=no]
+)
+if test x$system_leveldb != xno; then
+  LEVELDB_CPPFLAGS=
+  LIBLEVELDB=-lleveldb
+  LIBMEMENV=-lmemenv
+fi
+AM_CONDITIONAL([EMBEDDED_LEVELDB],[test x$system_leveldb = xno])
 AC_SUBST(LEVELDB_CPPFLAGS)
 AC_SUBST(LIBLEVELDB)
 AC_SUBST(LIBMEMENV)




Reply via email to