Hello community,

here is the log from the commit of package xdelta for openSUSE:11.3
checked in at Tue Oct 11 17:58:26 CEST 2011.



--------
--- old-versions/11.3/all/xdelta/xdelta.changes 2010-01-07 14:10:11.000000000 
+0100
+++ 11.3/xdelta/xdelta.changes  2011-10-11 08:50:14.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Oct 10 13:27:35 UTC 2011 - pgaj...@suse.com
+
+- fixed [bnc#720382] -- xdelta does not work on large files
+  * large-files.patch
+- compile with  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+  [bnc#644388]
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.3/all/xdelta
Destination is old-versions/11.3/UPDATES/all/xdelta
calling whatdependson for 11.3-i586


New:
----
  xdelta-1.1.4-large-files.patch

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

Other differences:
------------------
++++++ xdelta.spec ++++++
--- /var/tmp/diff_new_pack.Nixrti/_old  2011-10-11 17:57:25.000000000 +0200
+++ /var/tmp/diff_new_pack.Nixrti/_new  2011-10-11 17:57:25.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package xdelta (Version 1.1.4)
+# spec file for package xdelta
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,13 +24,14 @@
 Group:          Productivity/Archiving/Backup
 AutoReqProv:    on
 Version:        1.1.4
-Release:        180
+Release:        186.<RELEASE2>
 Summary:        Binary delta generator and RCS replacement library
 Source:         %{name}-%{version}.tar.bz2
 Patch:          %{name}-%{version}.patch
 Patch2:         %{name}-%{version}-autoconf.patch
 Patch3:         %{name}-%{version}-aliasing.patch
 Patch4:         %{name}-%{version}-glib2.patch
+Patch5:         %{name}-%{version}-large-files.patch
 Source1:        xdeltadir.pl
 Source2:        xdeltadir.1.gz
 Url:            http://xdelta.org/
@@ -73,6 +74,7 @@
 %patch2
 %patch3
 %patch4
+%patch5 -p1
 
 %build
 %{?suse_update_config:%{suse_update_config -f}}
@@ -80,7 +82,7 @@
 aclocal
 autoconf
 automake -a
-export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
 %configure --disable-static
 make
 

++++++ xdelta-1.1.4-large-files.patch ++++++
Index: xdelta-1.1.4/xdelta.c
===================================================================
--- xdelta-1.1.4.orig/xdelta.c
+++ xdelta-1.1.4/xdelta.c
@@ -956,7 +956,7 @@ xdp_generate_delta_int (XdeltaGenerator
                        XdeltaOutStream *data_out)
 {
   gint i, j, total_from_ck_count = 0, prime = 0, index = 0;
-  gint total_from_len = 0;
+  gssize total_from_len = 0;
   guint32* table = NULL;
 
   if (QUERY_SIZE == 0)

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to