diff options
author | tv <tv@krebsco.de> | 2015-07-19 18:50:45 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-19 18:50:45 +0200 |
commit | 3e198ce5afe664a03985a109b8544d50f93cdc55 (patch) | |
tree | 0b36dcf98a65b108a7ac87d80a7be0bfc4f7968e /Zpkgs/tv/charybdis/remove-setenv.patch | |
parent | ffd635fe8f965ee23b1db25f1ecc22bf6737e8d9 (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.patch | 12 |
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 0000000..c53c1ff --- /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); |