Hello community,

here is the log from the commit of package htdig for openSUSE:Factory checked 
in at 2016-06-03 16:36:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/htdig (Old)
 and      /work/SRC/openSUSE:Factory/.htdig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "htdig"

Changes:
--------
--- /work/SRC/openSUSE:Factory/htdig/htdig.changes      2015-04-27 
22:07:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.htdig.new/htdig.changes 2016-06-03 
16:36:55.000000000 +0200
@@ -1,0 +2,6 @@
+Tue May 24 14:52:27 UTC 2016 - [email protected]
+
+- Add htdig-unsigned-char.patch: use unsigned char to be sure we
+  can store values up to (int)255.
+
+-------------------------------------------------------------------

New:
----
  htdig-unsigned-char.patch

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

Other differences:
------------------
++++++ htdig.spec ++++++
--- /var/tmp/diff_new_pack.IVKe32/_old  2016-06-03 16:36:56.000000000 +0200
+++ /var/tmp/diff_new_pack.IVKe32/_new  2016-06-03 16:36:56.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package htdig
 #
-# Copyright (c) 2015 SUSE LINUX 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
@@ -38,6 +38,8 @@
 Patch14:        %{name}-quoting.patch
 # PATCH-FIX-UPSTREAM gmtime-lastday.patch use INT32_MAX to define last day 
(bnc##231196), related to (bnc#343913)
 Patch15:        %{name}-gmtime-lastday.patch
+# PATCH-FIX-UPSTREAM htdig-unsigned-char.patch [email protected] -- use 
unsigned char to be sure we can store values up to (int)255
+Patch16:        %{name}-unsigned-char.patch
 BuildRequires:  apache2-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -109,6 +111,7 @@
 %patch11
 %patch14 -p1
 %patch15
+%patch16 -p1
 
 %build
 %{?suse_update_config:%{suse_update_config -f db/dist}}

++++++ htdig-unsigned-char.patch ++++++
From: Dominique Leuenberger <[email protected]>

USe unsigned char in order to ensure we can store values up to (int)255

Fixes build with gcc 6, which failed with:
[  300s] Accents.cc:78:42: error: narrowing conversion of '128' from 'int' to 
'char' inside { } [-Wnarrowing]
[  300s]     'o', 'u', 'u', 'u', 'u', 'y', 254, 255};


Index: htdig-3.2.0b6/htfuzzy/Accents.cc
===================================================================
--- htdig-3.2.0b6.orig/htfuzzy/Accents.cc
+++ htdig-3.2.0b6/htfuzzy/Accents.cc
@@ -43,7 +43,7 @@ extern int debug;
 | table iso-latin1 "minusculisee" et "de-accentuee" |
 `--------------------------------------------------*/
   
-static char MinusculeISOLAT1[256] = {
+static unsigned char MinusculeISOLAT1[256] = {
      0,   1,   2,   3,   4,   5,   6,   7,
      8,   9,  10,  11,  12,  13,  14,  15,
     16,  17,  18,  19,  20,  21,  22,  23,

Reply via email to