From 0b78d25471de908887d75843e1c1c846109aca8d Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Tue, 15 Apr 2014 20:05:03 +0100
Subject: [PATCH] use the backwards-compatible version of levigo

---
 server/db.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/server/db.go b/server/db.go
index e2b2efd..355ccd3 100644
--- a/server/db.go
+++ b/server/db.go
@@ -7,7 +7,10 @@ import (
 	"strings"
 
 	"git.autistici.org/ai/audit"
-	"github.com/jmhodges/levigo"
+
+	// Use the backwards-compatible version of Levigo
+	// on Debian wheezy systems (due to their old LevelDB).
+	"github.com/jmhodges/levigo_leveldb_1.4"
 )
 
 // DB is a very simple indexed database implementation using LevelDB.
-- 
GitLab