Hello community,

here is the log from the commit of package flickcurl for openSUSE:Factory 
checked in at 2011-12-30 08:45:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flickcurl (Old)
 and      /work/SRC/openSUSE:Factory/.flickcurl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flickcurl", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/flickcurl/flickcurl.changes      2011-09-26 
10:05:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.flickcurl.new/flickcurl.changes 2011-12-30 
08:45:37.000000000 +0100
@@ -1,0 +2,11 @@
+Tue Dec 27 15:06:49 UTC 2011 - [email protected]
+
+- Fix wrong size parameter in memset call 
+
+-------------------------------------------------------------------
+Fri Dec 23 12:05:10 UTC 2011 - [email protected]
+
+- move non-documentation files from -doc to -devel to fix
+  Factory build error with files packaged twice
+
+-------------------------------------------------------------------

New:
----
  flickcurl-wrong-memset.patch

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

Other differences:
------------------
++++++ flickcurl.spec ++++++
--- /var/tmp/diff_new_pack.UqsNLp/_old  2011-12-30 08:45:38.000000000 +0100
+++ /var/tmp/diff_new_pack.UqsNLp/_new  2011-12-30 08:45:38.000000000 +0100
@@ -20,11 +20,11 @@
 
 Name:           flickcurl
 Version:        1.21
-Release:        3
-License:        LGPL-2.1
+Release:        0
 Summary:        Command-Line Tools for the Flickr Web Service
-Url:            http://librdf.org/flickcurl/
+License:        LGPL-2.1
 Group:          Productivity/Networking/Other
+Url:            http://librdf.org/flickcurl/
 # http://download.dajobe.org/flickcurl/flickcurl-%{version}.tar.gz
 Source:         flickcurl-%{version}.tar.bz2
 Source99:       flickcurl-rpmlintrc
@@ -41,6 +41,7 @@
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Patch0:         flickcurl-curl.patch
+Patch1:         flickcurl-wrong-memset.patch
 
 %description
 Flickcurl is a C library for calling the Flickr Web service API. It handles the
@@ -55,6 +56,7 @@
 %package doc
 Summary:        C Library API to the Flickr Web Service (Documentation)
 Group:          Documentation/Other
+Requires:       libflickcurl%{soname} = %{version}
 
 %description doc
 Flickcurl is a C library for calling the Flickr Web service API. It handles the
@@ -103,6 +105,7 @@
 %prep
 %setup -q
 %patch0
+%patch1 -p1
 
 %build
 autoreconf -fiv
@@ -136,8 +139,13 @@
 %files -n libflickcurl%{soname}
 %defattr(-,root,root)
 %doc %{_docdir}/lib%{name}%{soname}
+%doc %{_docdir}/lib%{name}%{soname}/AUTHORS
+%doc %{_docdir}/lib%{name}%{soname}/ChangeLog
 %doc %{_docdir}/lib%{name}%{soname}/COPYING*
 %doc %{_docdir}/lib%{name}%{soname}/LICENSE*
+%doc %{_docdir}/lib%{name}%{soname}/NEWS*
+%doc %{_docdir}/lib%{name}%{soname}/NOTICE
+%doc %{_docdir}/lib%{name}%{soname}/README*
 %{_libdir}/libflickcurl.so.%{soname}
 %{_libdir}/libflickcurl.so.%{soname}.*.*
 
@@ -153,12 +161,6 @@
 
 %files doc
 %defattr(-,root,root)
-%doc %dir %{_docdir}/lib%{name}%{soname}
-%doc %{_docdir}/lib%{name}%{soname}/AUTHORS
-%doc %{_docdir}/lib%{name}%{soname}/ChangeLog
-%doc %{_docdir}/lib%{name}%{soname}/NEWS*
-%doc %{_docdir}/lib%{name}%{soname}/NOTICE
-%doc %{_docdir}/lib%{name}%{soname}/README*
 %{_datadir}/gtk-doc/html/flickcurl
 
 %changelog

++++++ flickcurl-wrong-memset.patch ++++++
Index: flickcurl-1.21/src/common.c
===================================================================
--- flickcurl-1.21.orig/src/common.c
+++ flickcurl-1.21/src/common.c
@@ -2291,7 +2291,7 @@ flickcurl_photos_list_params_init(flickc
   if(!list_params)
     return 1;
   
-  memset(list_params, '\0', sizeof(list_params));
+  memset(list_params, '\0', sizeof(flickcurl_photos_list_params));
   list_params->version = 1;
 
   list_params->extras = NULL;
Index: flickcurl-1.21/src/md5.c
===================================================================
--- flickcurl-1.21.orig/src/md5.c
+++ flickcurl-1.21/src/md5.c
@@ -221,7 +221,7 @@ static void MD5Final(struct MD5Context *
   MD5Transform(ctx->buf, (u32 *) ctx->in);
   byteReverse((unsigned char *) ctx->buf, 4);
   memcpy(ctx->digest, ctx->buf, 16);
-  memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
+  memset(ctx, 0, sizeof(struct MD5Context));   /* In case it's sensitive */
 }
 
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to