diff -Nru gbsplay-0.0.93/configure gbsplay-0.0.93/configure --- gbsplay-0.0.93/configure 2018-08-22 00:52:56.000000000 +0000 +++ gbsplay-0.0.93/configure 2015-08-23 20:13:30.000000000 +0000 @@ -655,16 +655,6 @@ remember_use alsa check_include alsa/asoundlib.h use_alsa=$have_alsa_asoundlib_h - cc_check "checking for ESTRPIPE support" have_estrpipe < -#include -int main(int argc, char **argv) -{ - if (ESTRPIPE == 0) - return 1; /* Never reached. */ - return 0; -} -EOF recheck_use alsa fi @@ -957,7 +947,6 @@ plugout_x STDOUT use_x I18N use_x REGPARM - have_x ESTRPIPE echo "#endif" ) > config.h diff -Nru gbsplay-0.0.93/debian/changelog gbsplay-0.0.93/debian/changelog --- gbsplay-0.0.93/debian/changelog 2018-08-22 00:52:56.000000000 +0000 +++ gbsplay-0.0.93/debian/changelog 2018-01-05 13:48:03.000000000 +0000 @@ -1,7 +1,15 @@ +gbsplay (0.0.93-3) unstable; urgency=medium + + * Bump standards version to 4.1.3. + * Bump debhelper version to 11. + * debian/source/format: added. + + -- Gürkan Myczko Fri, 05 Jan 2018 14:48:03 +0100 + gbsplay (0.0.93-2) unstable; urgency=medium * Update my name. - * Apply ESTRPIPE patch to fix a bug. (Closes: 815490) + * Apply ESTRPIPE patch to fix a bug. (Closes: #815490) * Bump standards version to 3.9.8. -- Gürkan Myczko Mon, 23 Jan 2017 15:49:28 +0100 @@ -16,7 +24,7 @@ copyright-refers-to-versionless-license-file * Update debian/rules to fix lintian warnings: - hardening-no-relro - + -- Christian Garbs Sun, 30 Aug 2015 20:33:29 +0200 gbsplay (0.0.92-1) unstable; urgency=medium diff -Nru gbsplay-0.0.93/debian/compat gbsplay-0.0.93/debian/compat --- gbsplay-0.0.93/debian/compat 2018-08-22 00:52:56.000000000 +0000 +++ gbsplay-0.0.93/debian/compat 2018-01-05 13:48:03.000000000 +0000 @@ -1 +1 @@ -9 +11 diff -Nru gbsplay-0.0.93/debian/control gbsplay-0.0.93/debian/control --- gbsplay-0.0.93/debian/control 2018-08-22 00:52:56.000000000 +0000 +++ gbsplay-0.0.93/debian/control 2018-01-05 13:48:03.000000000 +0000 @@ -3,8 +3,8 @@ Priority: optional Maintainer: Gürkan Myczko Uploaders: Christian Garbs -Standards-Version: 3.9.8 -Build-Depends: debhelper (>= 9), gettext, libaudio-dev, libpulse-dev, libasound2-dev +Standards-Version: 4.1.3 +Build-Depends: debhelper (>= 11), gettext, libaudio-dev, libpulse-dev, libasound2-dev Homepage: https://github.com/mmitch/gbsplay Package: gbsplay diff -Nru gbsplay-0.0.93/debian/patches/patches gbsplay-0.0.93/debian/patches/patches --- gbsplay-0.0.93/debian/patches/patches 1970-01-01 00:00:00.000000000 +0000 +++ gbsplay-0.0.93/debian/patches/patches 2018-01-05 13:48:03.000000000 +0000 @@ -0,0 +1,80 @@ +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. + . + gbsplay (0.0.93-3) unstable; urgency=medium + . + * Bump standards version to 4.1.3. + * Bump debhelper version to 11. + * debian/source/format: added. +Author: Gürkan Myczko + +--- +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-01-05 + +--- gbsplay-0.0.93.orig/configure ++++ gbsplay-0.0.93/configure +@@ -655,6 +655,16 @@ if [ "$use_alsa" != no ]; then + remember_use alsa + check_include alsa/asoundlib.h + use_alsa=$have_alsa_asoundlib_h ++ cc_check "checking for ESTRPIPE support" have_estrpipe < ++#include ++int main(int argc, char **argv) ++{ ++ if (ESTRPIPE == 0) ++ return 1; /* Never reached. */ ++ return 0; ++} ++EOF + recheck_use alsa + fi + +@@ -947,6 +957,7 @@ __EOF__ + plugout_x STDOUT + use_x I18N + use_x REGPARM ++ have_x ESTRPIPE + echo "#endif" + ) > config.h + +--- gbsplay-0.0.93.orig/plugout_alsa.c ++++ gbsplay-0.0.93/plugout_alsa.c +@@ -94,13 +94,22 @@ static long regparm alsa_open(enum plugo + return 0; + } + ++static long is_suspended(snd_pcm_sframes_t retval) ++{ ++#ifdef HAVE_ESTRPIPE ++ return retval == -ESTRPIPE; ++#else ++ return snd_pcm_state(pcm_handle) == SND_PCM_STATE_SUSPENDED; ++#endif ++} ++ + static ssize_t regparm alsa_write(const void *buf, size_t count) + { + snd_pcm_sframes_t retval; + + do { + retval = snd_pcm_writei(pcm_handle, buf, count / 4); +- if (retval != -ESTRPIPE) ++ if (!is_suspended(retval)) + break; + + /* resume from suspend */ diff -Nru gbsplay-0.0.93/debian/patches/series gbsplay-0.0.93/debian/patches/series --- gbsplay-0.0.93/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ gbsplay-0.0.93/debian/patches/series 2018-01-05 13:48:03.000000000 +0000 @@ -0,0 +1 @@ +patches diff -Nru gbsplay-0.0.93/debian/source/format gbsplay-0.0.93/debian/source/format --- gbsplay-0.0.93/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ gbsplay-0.0.93/debian/source/format 2017-04-17 18:55:48.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru gbsplay-0.0.93/plugout_alsa.c gbsplay-0.0.93/plugout_alsa.c --- gbsplay-0.0.93/plugout_alsa.c 2018-08-22 00:52:56.000000000 +0000 +++ gbsplay-0.0.93/plugout_alsa.c 2015-08-23 20:13:30.000000000 +0000 @@ -94,22 +94,13 @@ return 0; } -static long is_suspended(snd_pcm_sframes_t retval) -{ -#ifdef HAVE_ESTRPIPE - return retval == -ESTRPIPE; -#else - return snd_pcm_state(pcm_handle) == SND_PCM_STATE_SUSPENDED; -#endif -} - static ssize_t regparm alsa_write(const void *buf, size_t count) { snd_pcm_sframes_t retval; do { retval = snd_pcm_writei(pcm_handle, buf, count / 4); - if (!is_suspended(retval)) + if (retval != -ESTRPIPE) break; /* resume from suspend */