From c6000c9d9949b3326fb82f02431899ab6774b960 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 16 Dec 2012 11:51:24 +0100 Subject: big cleanup --- vi/db47-hack.patch | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 vi/db47-hack.patch (limited to 'vi/db47-hack.patch') diff --git a/vi/db47-hack.patch b/vi/db47-hack.patch deleted file mode 100644 index f2f206b..0000000 --- a/vi/db47-hack.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/cl/cl_main.c b/cl/cl_main.c -index 0ecbe44..87feb28 100644 ---- a/cl/cl_main.c -+++ b/cl/cl_main.c -@@ -57,6 +57,9 @@ main(int argc, char **argv) - int rval; - char **p_av, **t_av, *ttype; - -+ /* Hack for db-4.7. */ -+ unsetenv("LANG"); -+ unsetenv("LC_ALL"); - /* If loaded at 0 and jumping through a NULL pointer, stop. */ - if (reenter++) - abort(); -diff --git a/common/db.h b/common/db.h -index fd1dc64..00a7ce7 100644 ---- a/common/db.h -+++ b/common/db.h -@@ -18,7 +18,7 @@ - - #if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 1 - #define db_open(db,file,type,flags,mode) \ -- (db)->open(db, NULL, file, NULL, type, flags, mode) -+ (db)->open(db, NULL, file, NULL, type, flags | DB_CREATE, mode) - #else - #define db_open(db,file,type,flags,mode) \ - (db)->open(db, file, NULL, type, flags, mode) \ No newline at end of file -- cgit v1.2.3-24-g4f1b