Hello community,

here is the log from the commit of package fbterm for openSUSE:Factory checked 
in at 2016-06-20 11:06:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fbterm (Old)
 and      /work/SRC/openSUSE:Factory/.fbterm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fbterm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/fbterm/fbterm.changes    2014-10-07 
16:01:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.fbterm.new/fbterm.changes       2016-06-20 
11:06:59.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 17 12:24:38 CEST 2016 - ti...@suse.de
+
+- Fix build error with gcc6 (boo#985146)
+  fbterm-gcc6-fixes.patch
+
+-------------------------------------------------------------------

New:
----
  fbterm-gcc6-fixes.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fbterm.spec ++++++
--- /var/tmp/diff_new_pack.ARugxM/_old  2016-06-20 11:07:00.000000000 +0200
+++ /var/tmp/diff_new_pack.ARugxM/_new  2016-06-20 11:07:00.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fbterm
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 Url:            http://code.google.com/p/fbterm/
 
 Source:         https://fbterm.googlecode.com/files/%name-1.7.0.tar.gz
+Patch1:         fbterm-gcc6-fixes.patch
 BuildRequires:  fontconfig-devel
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
@@ -65,6 +66,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 autoreconf -fi

++++++ fbterm-gcc6-fixes.patch ++++++
---
 src/lib/vterm_states.cpp |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

--- a/src/lib/vterm_states.cpp
+++ b/src/lib/vterm_states.cpp
@@ -39,14 +39,14 @@ const VTerm::Sequence VTerm::control_seq
        { 0x1B, 0,      ESesc },
        { 0x7F, 0,      ESkeep },
        { 0x9B, 0,      ESsquare },
-       { -1}
+       { (u16)-1}
 };
 
 const VTerm::Sequence VTerm::escape_sequences[] = {
        {   0, 0, ESnormal },
 
        // ESnormal
-       { -1 },
+       { (u16)-1 },
 
        // ESesc
        { '[', &VTerm::clear_param,     ESsquare },
@@ -65,7 +65,7 @@ const VTerm::Sequence VTerm::escape_sequ
        { '8', &VTerm::restore_cursor,  ESnormal },
        { '>', &VTerm::keypad_numeric,  ESnormal },
        { '=', &VTerm::keypad_application,      ESnormal },
-       { -1 },
+       { (u16)-1 },
 
        // ESsquare
        { '[', 0,       ESfunckey },
@@ -104,7 +104,7 @@ const VTerm::Sequence VTerm::escape_sequ
        { '`', &VTerm::cursor_position_col,     ESnormal },
        { ']', &VTerm::linux_specific, ESnormal },
        { '}', &VTerm::fbterm_specific, ESnormal },
-       { -1 },
+       { (u16)-1 },
 
        // ESnonstd
        { '0' | ADDSAME(9), &VTerm::set_palette,    ESkeep },
@@ -112,25 +112,25 @@ const VTerm::Sequence VTerm::escape_sequ
        { 'a' | ADDSAME(5), &VTerm::set_palette,    ESkeep },
        { 'P', &VTerm::begin_set_palette, ESkeep },
        { 'R', &VTerm::reset_palette, ESnormal },
-       { -1 },
+       { (u16)-1 },
 
        // ESpercent
        { '@', &VTerm::clear_utf8,      ESnormal },
        { 'G', &VTerm::set_utf8,        ESnormal },
        { '8', &VTerm::set_utf8,        ESnormal },
-       { -1 },
+       { (u16)-1 },
 
        // EScharset
        { '0', &VTerm::set_charset, ESnormal },
        { 'B', &VTerm::set_charset, ESnormal },
        { 'U', &VTerm::set_charset, ESnormal },
        { 'K', &VTerm::set_charset, ESnormal },
-       { -1 },
+       { (u16)-1 },
 
        // EShash
        { '8', &VTerm::screen_align,    ESnormal },
-       { -1 },
+       { (u16)-1 },
 
        // ESfunckey
-       { -1 },
+       { (u16)-1 },
 };

Reply via email to