diff -Nru xwax-1.7/debian/changelog xwax-1.7/debian/changelog --- xwax-1.7/debian/changelog 2018-04-20 09:14:24.000000000 +0000 +++ xwax-1.7/debian/changelog 2018-12-02 12:20:11.000000000 +0000 @@ -1,3 +1,10 @@ +xwax (1.7-1ubuntu0.1~18.10) cosmic; urgency=medium + + * d/p/02_decimal_number_parsing.patch: apply f3af6a6 from upstream to + fix parsing of decimal numbers. + + -- Daniel Holbach Sun, 02 Dec 2018 13:20:11 +0100 + xwax (1.7-1) unstable; urgency=medium * Team upload. diff -Nru xwax-1.7/debian/control xwax-1.7/debian/control --- xwax-1.7/debian/control 2018-04-20 09:08:09.000000000 +0000 +++ xwax-1.7/debian/control 2018-12-02 12:20:11.000000000 +0000 @@ -1,7 +1,8 @@ Source: xwax Section: sound Priority: optional -Maintainer: Debian Multimedia Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Multimedia Maintainers Uploaders: Mitchell Smith , Daniel James diff -Nru xwax-1.7/debian/patches/01_mkversion-debian.patch xwax-1.7/debian/patches/01_mkversion-debian.patch --- xwax-1.7/debian/patches/01_mkversion-debian.patch 2018-04-20 09:03:55.000000000 +0000 +++ xwax-1.7/debian/patches/01_mkversion-debian.patch 2018-12-02 12:20:11.000000000 +0000 @@ -10,8 +10,10 @@ Forwarded: not-needed --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/mkversion -+++ b/mkversion +Index: xwax-1.7/mkversion +=================================================================== +--- xwax-1.7.orig/mkversion ++++ xwax-1.7/mkversion @@ -11,12 +11,7 @@ VF=.version if [ "$1" = "-r" ]; then # Refresh the version number, if we can diff -Nru xwax-1.7/debian/patches/02_decimal_number_parsing.patch xwax-1.7/debian/patches/02_decimal_number_parsing.patch --- xwax-1.7/debian/patches/02_decimal_number_parsing.patch 1970-01-01 00:00:00.000000000 +0000 +++ xwax-1.7/debian/patches/02_decimal_number_parsing.patch 2018-12-02 12:20:11.000000000 +0000 @@ -0,0 +1,30 @@ +/tmp/xwax_1.7-1ubuntu0.1~18.10.diff.KKyNY4 +Index: xwax-1.7/CHANGES +=================================================================== +--- xwax-1.7.orig/CHANGES ++++ xwax-1.7/CHANGES +@@ -1,3 +1,5 @@ ++* Fix a bug where decimal numbers are parsed in an unexpected way ++ + v1.7 (2018-01-19) + ----------------- + +Index: xwax-1.7/xwax.c +=================================================================== +--- xwax-1.7.orig/xwax.c ++++ xwax-1.7/xwax.c +@@ -217,6 +217,14 @@ int main(int argc, char *argv[]) + return -1; + } + ++ /* Explicit formatting for numbers; parsing and printing. Match ++ * the user's expectations, and the documentation */ ++ ++ if (setlocale(LC_NUMERIC, "POSIX") == NULL) { ++ fprintf(stderr, "Could not set numeric encoding\n"); ++ return -1; ++ } ++ + if (thread_global_init() == -1) + return -1; + if (library_global_init() == -1) diff -Nru xwax-1.7/debian/patches/series xwax-1.7/debian/patches/series --- xwax-1.7/debian/patches/series 2018-04-20 08:58:18.000000000 +0000 +++ xwax-1.7/debian/patches/series 2018-12-02 12:20:11.000000000 +0000 @@ -1 +1,3 @@ 01_mkversion-debian.patch +02_decimal_number_parsing.patch +xwax.c diff -Nru xwax-1.7/debian/patches/xwax.c xwax-1.7/debian/patches/xwax.c --- xwax-1.7/debian/patches/xwax.c 1970-01-01 00:00:00.000000000 +0000 +++ xwax-1.7/debian/patches/xwax.c 2018-12-02 12:20:11.000000000 +0000 @@ -0,0 +1,43 @@ +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + xwax (1.7-1ubuntu0.1~18.10) cosmic; urgency=medium + . + * d/p/02_decimal_number_parsing.patch: apply f3af6a6 from upstream to + fix parsing of decimal numbers. +Author: Daniel Holbach + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2018-12-02 + +--- xwax-1.7.orig/xwax.c ++++ xwax-1.7/xwax.c +@@ -217,6 +217,14 @@ int main(int argc, char *argv[]) + return -1; + } + ++ /* Explicit formatting for numbers; parsing and printing. Match ++ * the user's expectations, and the documentation */ ++ ++ if (setlocale(LC_NUMERIC, "POSIX") == NULL) { ++ fprintf(stderr, "Could not set numeric encoding\n"); ++ return -1; ++ } ++ + if (thread_global_init() == -1) + return -1; + if (library_global_init() == -1)