Hello community, here is the log from the commit of package brltty for openSUSE:Factory checked in at 2017-04-07 14:17:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/brltty (Old) and /work/SRC/openSUSE:Factory/.brltty.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "brltty" Fri Apr 7 14:17:56 2017 rev:37 rq:481968 version:5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/brltty/brltty.changes 2017-02-21 13:35:56.294271293 +0100 +++ /work/SRC/openSUSE:Factory/.brltty.new/brltty.changes 2017-04-07 14:17:57.954504316 +0200 @@ -1,0 +2,13 @@ +Tue Mar 21 18:35:02 UTC 2017 - mgorse@suse.com + +- Replace brltty.format-error.patch with the upstream fix; our + current patch doesn't appear to be sufficient (boo#1030240). + +------------------------------------------------------------------- +Tue Mar 21 15:18:10 UTC 2017 - olaf@aepfle.de + +- Add -Wformat to work around build failure (boo#1030240) + Add brltty.format-error.patch + Add brltty.makedev.patch + +------------------------------------------------------------------- New: ---- brltty.format-error.patch brltty.makedev.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ brltty.spec ++++++ --- /var/tmp/diff_new_pack.ZcnFvs/_old 2017-04-07 14:17:59.722254682 +0200 +++ /var/tmp/diff_new_pack.ZcnFvs/_new 2017-04-07 14:17:59.726254117 +0200 @@ -41,6 +41,8 @@ # PATCH-FIX-UPSTREAM brltty-5.4-latex-tables-executable.patch mgorse@suse.com -- LaTeX tables need to be executable. Patch4: brltty-5.4-latex-tables-executable.patch Patch5: brltty-braillenote-usb.patch +Patch6: brltty.format-error.patch +Patch7: brltty.makedev.patch BuildRequires: bison BuildRequires: espeak-devel @@ -73,6 +75,7 @@ BuildRequires: pkgconfig(xaw7) BuildRequires: pkgconfig(xt) # needed for patch5 +BuildRequires: autoconf BuildRequires: automake %{?systemd_requires} %define _udevdir %(pkg-config --variable udevdir udev) @@ -302,6 +305,8 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 # Fix "wrong-file-end-of-line-encoding" rpmlint warning sed -i 's/\r$//' Documents/Manual-BRLTTY/Portuguese/BRLTTY.txt ++++++ brltty.format-error.patch ++++++
From dce5afa224ad35260065b4e65cfe576f84273c86 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher
Date: Fri, 17 Mar 2017 10:34:19 -0400 Subject: [PATCH] Drop -Wno-format from Python bindings
This causes a build error on GCC7:
cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
It is also no longer necessary, as the bindings do not have format
security issues.
---
Bindings/Python/bindings.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Bindings/Python/bindings.m4 b/Bindings/Python/bindings.m4
index a8c0fd6..58f0216 100644
--- a/Bindings/Python/bindings.m4
+++ b/Bindings/Python/bindings.m4
@@ -121,7 +121,7 @@ fi
if test "${GCC}" = "yes"
then
- CYTHON_CFLAGS="-Wno-parentheses -Wno-unused -Wno-format -fno-strict-aliasing -U_POSIX_C_SOURCE -U_XOPEN_SOURCE"
+ CYTHON_CFLAGS="-Wno-parentheses -Wno-unused -fno-strict-aliasing -U_POSIX_C_SOURCE -U_XOPEN_SOURCE"
else
case "${host_os}"
in
--
2.6.6
++++++ brltty.makedev.patch ++++++
--- a/Programs/system_linux.c
+++ b/Programs/system_linux.c
@@ -22,6 +22,7 @@
#include