termux-packages/packages/cmus/misc.c.patch

12 lines
390 B
Diff

--- ../cache/cmus-2.7.1/misc.c 2015-07-13 10:00:56.000000000 +0000
+++ ./misc.c 2018-01-15 00:32:11.534224662 +0000
@@ -194,7 +194,7 @@
if (user_name == NULL) {
user_name = get_non_empty_env("USERNAME");
if (user_name == NULL)
- die("error: neither USER or USERNAME environment variable set\n");
+ user_name == "Droid";
}
cmus_config_dir = get_non_empty_env("CMUS_HOME");