Hello community,

here is the log from the commit of package libvoikko for openSUSE:Factory 
checked in at 2011-12-31 17:20:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvoikko (Old)
 and      /work/SRC/openSUSE:Factory/.libvoikko.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libvoikko", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libvoikko/libvoikko.changes      2011-11-28 
12:54:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libvoikko.new/libvoikko.changes 2011-12-31 
17:20:04.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Dec 27 13:10:08 UTC 2011 - [email protected]
+
+- Fix wrong size parameter in memset call 
+ 
+-------------------------------------------------------------------

New:
----
  libvoikko-wrong-memset.patch

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

Other differences:
------------------
++++++ libvoikko.spec ++++++
--- /var/tmp/diff_new_pack.xvNQPT/_old  2011-12-31 17:20:05.000000000 +0100
+++ /var/tmp/diff_new_pack.xvNQPT/_new  2011-12-31 17:20:05.000000000 +0100
@@ -15,20 +15,25 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:           libvoikko
 Version:        2.1
-Release:        1
-URL:            http://voikko.sourceforge.net/
-License:        GPL-2.0+
+Release:        0
+Url:            http://voikko.sourceforge.net/
 Summary:        Spellchecker and Hyphenator for Finnish Language
+License:        GPL-2.0+
 Group:          Productivity/Text/Spell
 Source:         libvoikko-%{version}.tar.bz2
 Source99:       baselibs.conf
 # PATCH-FIX-UPSTREAM libvoikko-2.1-ac-macro-dir.diff sf#2810258 
[email protected] -- can't run autoreconf because the m4 direcotry is neither in 
the source tarball nor in svn
-Patch:          libvoikko-2.1-ac-macro-dir.diff
-BuildRequires:  gcc-c++ glib2-devel libmalaga-devel libtool python python-xml
+Patch1:         libvoikko-2.1-ac-macro-dir.diff
+# PATCH-FIX-UPSTREAM libvoikko-wrong-memset.patch [email protected] -- Fix 
wrong size parameter in memset call
+Patch2:         libvoikko-wrong-memset.patch
+BuildRequires:  gcc-c++
+BuildRequires:  glib2-devel
+BuildRequires:  libmalaga-devel
+BuildRequires:  libtool
+BuildRequires:  python
+BuildRequires:  python-xml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define debug_package_requires libvoikko1 = %{version}-%{release}
 
@@ -37,8 +42,8 @@
 Suomi-Malaga.
 
 %package -n libvoikko1
-Group:          System/Libraries
 Summary:        Spellchecker and Hyphenator for Finnish Language
+Group:          System/Libraries
 Requires:       malaga-suomi
 
 %description -n libvoikko1
@@ -46,8 +51,8 @@
 Suomi-Malaga.
 
 %package devel
-Group:          Development/Libraries/C and C++
 Summary:        Spellchecker and Hyphenator for Finnish Language
+Group:          Development/Libraries/C and C++
 Requires:       libvoikko1 = %{version} glibc-devel
 
 %description devel
@@ -55,8 +60,8 @@
 Suomi-Malaga.
 
 %package -n voikkospell
-Group:          Productivity/Text/Spell
 Summary:        Spellchecker and Hyphenator for Finnish Language
+Group:          Productivity/Text/Spell
 Requires:       libvoikko1 = %{version}
 
 %description -n voikkospell
@@ -65,7 +70,8 @@
 
 %prep
 %setup -q
-%patch
+%patch1
+%patch2 -p1
 
 %build
 autoreconf -f -i

++++++ libvoikko-wrong-memset.patch ++++++
Index: libvoikko-2.1/src/grammar/grammar.cpp
===================================================================
--- libvoikko-2.1.orig/src/grammar/grammar.cpp
+++ libvoikko-2.1/src/grammar/grammar.cpp
@@ -27,7 +27,7 @@
 namespace libvoikko {
 
 void init_gc_error(voikko_grammar_error * gc_error) {
-       memset(gc_error, 0, sizeof(gc_error));
+       memset(gc_error, 0, sizeof(voikko_grammar_error));
 }
 
 VOIKKOEXPORT voikko_grammar_error voikko_next_grammar_error_cstr(int handle, 
const char * text,
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to