Hello community,

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

Package is "ding-libs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ding-libs/ding-libs.changes      2016-02-28 
02:27:48.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ding-libs.new/ding-libs.changes 2016-08-06 
20:37:23.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul 29 10:24:17 UTC 2016 - [email protected]
+
+- Introduce patch 0001-increase-ini-max-value-length.patch
+  to support longer values in INI file parser. bsc#989488
+
+-------------------------------------------------------------------

New:
----
  0001-increase-ini-max-value-length.patch

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

Other differences:
------------------
++++++ ding-libs.spec ++++++
--- /var/tmp/diff_new_pack.f5hgle/_old  2016-08-06 20:37:24.000000000 +0200
+++ /var/tmp/diff_new_pack.f5hgle/_new  2016-08-06 20:37:24.000000000 +0200
@@ -37,6 +37,7 @@
 Source2:        
https://fedorahosted.org/released/ding-libs/%name-%version.tar.gz.asc
 Source3:        %name.keyring
 Source4:        baselibs.conf
+Patch1:         0001-increase-ini-max-value-length.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  doxygen
 BuildRequires:  pkgconfig
@@ -179,6 +180,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure --disable-static

++++++ 0001-increase-ini-max-value-length.patch ++++++
In order to support longer values in INI parser, the maximum value length
is increased.

Author: David Bond <[email protected]>
diff -rupN ding-libs-0.5.0/ini/ini_defines.h 
ding-libs-0.5.0-patched/ini/ini_defines.h
--- ding-libs-0.5.0/ini/ini_defines.h   2015-06-23 14:12:00.000000000 +0200
+++ ding-libs-0.5.0-patched/ini/ini_defines.h   2016-07-29 12:15:41.866273555 
+0200
@@ -66,7 +66,7 @@
 #define INI_SECTION_KEY "["
 
 /* Internal sizes. MAX_KEY is defined in config.h */
-#define MAX_VALUE       PATH_MAX
+#define MAX_VALUE       (PATH_MAX + 4096)
 #define BUFFER_SIZE     MAX_KEY + MAX_VALUE + 3
 
 /* Beffer length used for int to string conversions */


Reply via email to