[Pkg-privacy-commits] [hexchat-otr] 01/01: Disable error for nonliteral format strings to fix build failure with GCC 6.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon Jul 18 20:29:21 UTC 2016


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

pere pushed a commit to branch master
in repository hexchat-otr.

commit fd5e5a65f901768ee638316f0588629c8bc3785a
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Mon Jul 18 20:29:00 2016 +0000

    Disable error for nonliteral format strings to fix build failure with GCC 6.
    
    Closes: #831154
---
 debian/patches/accept-var-formats.patch | 18 ++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/accept-var-formats.patch b/debian/patches/accept-var-formats.patch
new file mode 100644
index 0000000..895d835
--- /dev/null
+++ b/debian/patches/accept-var-formats.patch
@@ -0,0 +1,18 @@
+Description: Disable error for nonliteral format strings.
+ This fixes a build failure with GCC 6.
+Author: Petter Reinholdtsen <pere at hungry.com>
+Bug-Debian: https://bugs.debian.org/831154
+Forwarded: no
+Reviewed-By: Petter Reinholdtsen <pere at hungry.com>
+Last-Update: 2016-07-18
+
+--- hexchat-otr-0.2.0.orig/configure.ac
++++ hexchat-otr-0.2.0/configure.ac
+@@ -61,6 +61,7 @@ AX_APPEND_COMPILE_FLAGS([ \
+ 	-Werror=format=2 \
+ 	-Werror=missing-include-dirs \
+ 	-Werror=date-time \
++	-Wnoerror=format-nonliteral \
+ ])
+ 
+ AC_CONFIG_FILES([
diff --git a/debian/patches/series b/debian/patches/series
index 4671417..020b8b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 network-key.patch
+accept-var-formats.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/hexchat-otr.git



More information about the Pkg-privacy-commits mailing list