This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libaudio-mixer-perl.

commit 9262c946bc0e3fb66edfd31d857933aaa77859b0
Author: gregor herrmann <gre...@debian.org>
Date:   Tue Mar 25 17:44:46 2014 +0100

    Add patch to fix build failure with clang.
    
    Thanks: Nicolas Sévelin-Radiguet for the bug report and the patch.
    Closes: #742537
---
 debian/patches/clang_FTBFS_Wreturn-type.patch | 19 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/clang_FTBFS_Wreturn-type.patch 
b/debian/patches/clang_FTBFS_Wreturn-type.patch
new file mode 100644
index 0000000..6e62666
--- /dev/null
+++ b/debian/patches/clang_FTBFS_Wreturn-type.patch
@@ -0,0 +1,19 @@
+Description: fix FTBFS with clang instead of gcc
+Bug-Debian: http://bugs.debian.org/742537
+Bug: https://rt.cpan.org/Ticket/Display.html?id=94186
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=94186
+Author: Nicolas Sévelin-Radiguet <nic...@free.fr>
+Reviewed-by: gregor herrmann <gre...@debian.org>
+Last-Update: 2014-03-24
+
+--- a/Mix.c
++++ b/Mix.c
+@@ -78,7 +78,7 @@
+ #ifdef DEBUG
+   fprintf(stderr, "close_mixer()\n");
+ #endif
+-  if (mixer_fd < 0) return;
++  if (mixer_fd < 0) return(0);
+   close(mixer_fd);
+   init_flag = 0;
+   mixer_fd = -1;
diff --git a/debian/patches/series b/debian/patches/series
index e4b1c1c..7945378 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix_spelling.patch
+clang_FTBFS_Wreturn-type.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libaudio-mixer-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to