summaryrefslogtreecommitdiffstats
path: root/Zpkgs/tv/charybdis/remove-setenv.patch
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-19 18:50:45 +0200
committertv <tv@shackspace.de>2015-07-19 18:50:45 +0200
commita4cb007999e3f6803fab4c695f61c3cd53ef674a (patch)
tree0b36dcf98a65b108a7ac87d80a7be0bfc4f7968e /Zpkgs/tv/charybdis/remove-setenv.patch
parent5600bb8be24fa1a21fcb88d64ccd698606a4dcbb (diff)
Zpkgs tv charybdis: import from NixOS master
Diffstat (limited to 'Zpkgs/tv/charybdis/remove-setenv.patch')
-rw-r--r--Zpkgs/tv/charybdis/remove-setenv.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/Zpkgs/tv/charybdis/remove-setenv.patch b/Zpkgs/tv/charybdis/remove-setenv.patch
new file mode 100644
index 000000000..c53c1ff29
--- /dev/null
+++ b/Zpkgs/tv/charybdis/remove-setenv.patch
@@ -0,0 +1,12 @@
+diff --git a/src/bandbi.c b/src/bandbi.c
+index 03dd907..3698e85 100644
+--- a/src/bandbi.c
++++ b/src/bandbi.c
+@@ -82,7 +82,6 @@ start_bandb(void)
+ const char *suffix = "";
+ #endif
+
+- rb_setenv("BANDB_DBPATH", PKGLOCALSTATEDIR "/ban.db", 1);
+ if(bandb_path == NULL)
+ {
+ rb_snprintf(fullpath, sizeof(fullpath), "%s/bandb%s", PKGLIBEXECDIR, suffix);