diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-01-09 00:46:21 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-01-09 00:46:21 +0100 |
commit | 9a163d2c67c196f0d2a85a5ff0129a88cc4540ae (patch) | |
tree | 2813e9cf698414551c0f2bf0b4383c1a75157665 | |
parent | 5128832f26d0a226cc6a53809b919759f462009f (diff) |
patches/i18n-pulse: Fix getting pulse sink list in non-english locale
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/patches/i18n-pulse | 12 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 19 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 151283c..c6c9fd1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +daisy-player (11.6.2.1-2) UNRELEASED; urgency=medium + + * patches/i18n-pulse: Fix getting pulse sink list in non-english locale. + + -- Samuel Thibault <sthibault@debian.org> Wed, 09 Jan 2019 00:45:21 +0100 + daisy-player (11.6.2.1-1) unstable; urgency=medium * Team upload. diff --git a/debian/patches/i18n-pulse b/debian/patches/i18n-pulse new file mode 100644 index 0000000..1016810 --- /dev/null +++ b/debian/patches/i18n-pulse @@ -0,0 +1,12 @@ +diff -Naru daisy-player-11.6.2.2/src/common.c daisy-player-11.6.2.2.new/src/common.c +--- daisy-player-11.6.2.2/src/common.c 2018-12-17 15:32:23.000000000 +0100 ++++ daisy-player-11.6.2.2.new/src/common.c 2018-12-26 10:46:34.096727117 +0100 +@@ -950,7 +950,7 @@ + char dev[5]; + FILE *p; + +- if ((p = popen ("/usr/bin/pactl list sinks", "r")) == NULL) ++ if ((p = popen ("LANG=C /usr/bin/pactl list sinks", "r")) == NULL) + { + beep (); + endwin (); diff --git a/debian/patches/series b/debian/patches/series index 578197b..81ceccf 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ cdda nogroup fr-encoding +i18n-pulse |