[Pkg-wmaker-commits] [wmgtemp] 01/02: debian/patches/build_with_gcc5.patch: New patch; fixes FTBFS using gcc5. Thanks to Chris Lamb <lamby at debian.org> (Closes: #797540).
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Sep 1 02:12:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmgtemp.
commit 2b3222661c2c1fbb6827c27e7dd06f5df5baa89e
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Mon Aug 31 22:08:56 2015 -0400
debian/patches/build_with_gcc5.patch: New patch; fixes FTBFS using gcc5.
Thanks to Chris Lamb <lamby at debian.org> (Closes: #797540).
---
debian/patches/build_with_gcc5.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/build_with_gcc5.patch b/debian/patches/build_with_gcc5.patch
new file mode 100644
index 0000000..5ead1a7
--- /dev/null
+++ b/debian/patches/build_with_gcc5.patch
@@ -0,0 +1,16 @@
+Description: Build with gcc5.
+Author: Chris Lamb <lamby at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797540
+Last-Update: 2015-08-31
+
+--- a/src/wmgeneral/list.h
++++ b/src/wmgeneral/list.h
+@@ -29,7 +29,7 @@
+ #ifndef __LIST_H_
+ #define __LIST_H_
+
+-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
++#if defined(__GNUC__) && !defined(__STRICT_ANSI__) && (__GNUC__ < 5)
+ # define INLINE inline
+ #else
+ # define INLINE
diff --git a/debian/patches/series b/debian/patches/series
index 2aff6b1..3b28ccb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix_hyphens_in_wmgtemp.1.patch
sensors.conf.patch
update_makefile.patch
fix_-Waggressive-loop-optimizations.patch
+build_with_gcc5.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmgtemp.git
More information about the Pkg-wmaker-commits
mailing list