[tiemu] 01/05: Fix FTBFS with latest gcc.

Andreas B. Mundt andi at moszumanska.debian.org
Tue Aug 15 15:21:22 UTC 2017


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

andi pushed a commit to branch master
in repository tiemu.

commit 64da1c5b2df1a08b96375577e36f14fc4e99b215
Author: Andreas B. Mundt <andi at debian.org>
Date:   Tue Aug 15 11:51:33 2017 +0200

    Fix FTBFS with latest gcc.
---
 debian/patches/ftbfs-format-flags | 15 +++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/ftbfs-format-flags b/debian/patches/ftbfs-format-flags
new file mode 100644
index 0000000..edc7c64
--- /dev/null
+++ b/debian/patches/ftbfs-format-flags
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with -Wno-format and -Wformat-security
+ warning/error.
+Author: Andreas B. Mundt <andi at debian.org>
+Last-Update: 2017-08-15
+
+--- a/src/core/uae/Makefile
++++ b/src/core/uae/Makefile
+@@ -5,7 +5,7 @@
+
+ # trying to be portable... *TRYING*
+ #CFLAGS   = -mms-bitfields
+-CPUFLAGS = $(CFLAGS) -fomit-frame-pointer -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -D__inline__=inline -DSTATFS_NO_ARGS=2 -DSTATBUF_BAVAIL=f_bavail #-Wall
++CPUFLAGS = $(CFLAGS) -fomit-frame-pointer -Wno-unused -Wno-format -Wno-format-security -W -Wmissing-prototypes -Wstrict-prototypes -D__inline__=inline -DSTATFS_NO_ARGS=2 -DSTATBUF_BAVAIL=f_bavail #-Wall
+
+ gen: cpudefs.c cpustbl.c cputbl.h cpuemu.c
diff --git a/debian/patches/series b/debian/patches/series
index ed24694..7db078c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ replace_GtkNotebookPage.patch
 disable-GTK_DISABLE_DEPRECATED.patch
 format-security.patch
 replace-GTK_WIDGET.patch
+ftbfs-format-flags

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/tiemu.git



More information about the debian-science-commits mailing list