diff -Nru rplay-3.3.2/debian/changelog rplay-3.3.2/debian/changelog --- rplay-3.3.2/debian/changelog 2011-12-14 15:05:42.000000000 +0000 +++ rplay-3.3.2/debian/changelog 2015-12-28 13:49:42.000000000 +0000 @@ -1,3 +1,21 @@ +rplay (3.3.2-15ubuntu1) xenial; urgency=medium + + * debian/patches/re_comp.patch: Include headers to fix implicit declaration + of re_comp. + + -- Logan Rosen Mon, 28 Dec 2015 08:37:07 -0500 + +rplay (3.3.2-15) unstable; urgency=medium + + * debian/control: Standards version moved to 3.9.6 (no changes) + * debian/control: use dh 9 + * debian/control: DM-Upload-Allowed: removed + * add patch 40_clang.patch to make it compile with clang + thanks to Nicolas Sévelin-Radiguet (Closes: #741567) + * add README.Debian as suggested by Vincent McIntyre (Closes: #597152) + + -- Thorsten Alteholz Tue, 22 Sep 2015 22:04:35 +0200 + rplay (3.3.2-14) unstable; urgency=low * debian/control: Standards version moved to 3.9.2 (no changes) diff -Nru rplay-3.3.2/debian/compat rplay-3.3.2/debian/compat --- rplay-3.3.2/debian/compat 2011-12-14 11:46:07.000000000 +0000 +++ rplay-3.3.2/debian/compat 2015-09-22 20:34:34.000000000 +0000 @@ -1 +1 @@ -8 +9 diff -Nru rplay-3.3.2/debian/control rplay-3.3.2/debian/control --- rplay-3.3.2/debian/control 2011-12-14 14:53:16.000000000 +0000 +++ rplay-3.3.2/debian/control 2015-12-28 13:37:23.000000000 +0000 @@ -1,14 +1,14 @@ Source: rplay Section: sound Priority: optional -Maintainer: Thorsten Alteholz -Standards-Version: 3.9.2 +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Thorsten Alteholz +Standards-Version: 3.9.6 Build-Depends: libgsm1-dev, libreadline-dev, - debhelper (>= 8.0.0), + debhelper (>= 9.0.0), dpkg (>= 1.15.4) | install-info Homepage: http://rplay.doit.org/ -DM-Upload-Allowed: yes Package: rplay-client Architecture: any diff -Nru rplay-3.3.2/debian/patches/40_clang.patch rplay-3.3.2/debian/patches/40_clang.patch --- rplay-3.3.2/debian/patches/40_clang.patch 1970-01-01 00:00:00.000000000 +0000 +++ rplay-3.3.2/debian/patches/40_clang.patch 2015-09-22 20:35:52.000000000 +0000 @@ -0,0 +1,14 @@ +Description: fix FTBFS with clang instead of gcc +Author: Nicolas Sévelin-Radiguet +Last-Update: 2014-03-13 +--- a/contrib/mailsound/mailsound.c ++++ b/contrib/mailsound/mailsound.c +@@ -154,7 +154,7 @@ + pattern = strtok(buffer, " \t"); + sound_args = strtok(NULL, "\t\n"); + if ((char *)re_comp(pattern) != NULL) +- return; ++ return 0; + if (re_exec(from)) + { + if (debug) diff -Nru rplay-3.3.2/debian/patches/re_comp.patch rplay-3.3.2/debian/patches/re_comp.patch --- rplay-3.3.2/debian/patches/re_comp.patch 1970-01-01 00:00:00.000000000 +0000 +++ rplay-3.3.2/debian/patches/re_comp.patch 2015-12-28 13:49:28.000000000 +0000 @@ -0,0 +1,19 @@ +Description: include headers to fix implicit declaration of re_comp +Author: Logan Rosen +Forwarded: no +Last-Update: 2016-01-05 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/contrib/mailsound/mailsound.c ++++ b/contrib/mailsound/mailsound.c +@@ -22,6 +22,10 @@ + #include + #include + ++#define _REGEX_RE_COMP ++#include ++#include ++ + #define PUBLIC + #define PRIVATE static + diff -Nru rplay-3.3.2/debian/patches/series rplay-3.3.2/debian/patches/series --- rplay-3.3.2/debian/patches/series 2011-12-14 11:58:27.000000000 +0000 +++ rplay-3.3.2/debian/patches/series 2015-12-28 13:36:38.000000000 +0000 @@ -2,3 +2,5 @@ 10_fix_manpages.patch 20_soname.patch 30_contrib.patch +40_clang.patch +re_comp.patch diff -Nru rplay-3.3.2/debian/README.Debian rplay-3.3.2/debian/README.Debian --- rplay-3.3.2/debian/README.Debian 1970-01-01 00:00:00.000000000 +0000 +++ rplay-3.3.2/debian/README.Debian 2015-09-22 20:39:30.000000000 +0000 @@ -0,0 +1,3 @@ +This package relies on OSS sound device support to function correctly, +i.e. /dev/dsp and /dev/audio must be present on your system before +rplay-server will be able to play sounds.