summaryrefslogtreecommitdiff
path: root/debian/patches/nogroup
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/nogroup')
-rw-r--r--debian/patches/nogroup24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/nogroup b/debian/patches/nogroup
new file mode 100644
index 0000000..053310f
--- /dev/null
+++ b/debian/patches/nogroup
@@ -0,0 +1,24 @@
+The user really does not have to be in group audio or pulse on Debian.
+
+---
+ src/common.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/src/common.c
++++ b/src/common.c
+@@ -906,6 +906,7 @@ void select_next_output_device (misc_t *
+ int c, n, found;
+ struct group *grp;
+
++#if 0
+ grp = getgrnam ("audio");
+ found = 0;
+ for (n = 0; grp->gr_mem[n]; n++)
+@@ -926,6 +927,7 @@ void select_next_output_device (misc_t *
+ printf ("Logout and login again and you can use daisy-player.\n");
+ _exit (EXIT_FAILURE);
+ } // if
++#endif
+
+ wclear (misc->screenwin);
+ wprintw (misc->screenwin, "\n%s\n\n", gettext ("Select a soundcard:"));