[Pkg-mpd-commits] [mpdscribble] 02/03: Fix a warning with autoconf 2.68.

Andrey Rahmatullin wrar-guest at moszumanska.debian.org
Wed Feb 12 21:02:06 UTC 2014


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

wrar-guest pushed a commit to branch master
in repository mpdscribble.

commit c97f339e18f9d3a383f91a33ce214c1aa5bf99d3
Author: Andrey Rahmatullin <wrar at wrar.name>
Date:   Thu Feb 13 03:01:27 2014 +0600

    Fix a warning with autoconf 2.68.
---
 debian/patches/fix-autotools.patch | 18 ++++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/fix-autotools.patch b/debian/patches/fix-autotools.patch
new file mode 100644
index 0000000..99d2a2e
--- /dev/null
+++ b/debian/patches/fix-autotools.patch
@@ -0,0 +1,18 @@
+Description: Fix autoconf 2.68 warning
+Author: Andrey Rahmatullin <wrar at wrar.name>
+Forwarded: yes
+Last-Update: 2014-02-13
+
+diff --git a/m4/cflags.m4 b/m4/cflags.m4
+index cc6d5fa..eec4e0b 100644
+--- a/m4/cflags.m4
++++ b/m4/cflags.m4
+@@ -3,7 +3,7 @@ AC_DEFUN([CHECK_CFLAG], [
+     AC_CACHE_CHECK([whether the C compiler accepts $1],[check_cflag_$var],[
+         save_CFLAGS="$CFLAGS"
+         CFLAGS="$CFLAGS $1"
+-        AC_COMPILE_IFELSE([int main(void) { return 0; }],
++        AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main(void) { return 0; }])],
+             [eval "check_cflag_$var=yes"],
+             [eval "check_cflag_$var=no"])
+         CFLAGS="$save_CFLAGS"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..613a501
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-autotools.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/mpdscribble.git



More information about the Pkg-mpd-commits mailing list