Hello community,

here is the log from the commit of package libarchive for openSUSE:Factory 
checked in at 2012-08-27 16:08:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libarchive (Old)
 and      /work/SRC/openSUSE:Factory/.libarchive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libarchive", Maintainer is "mrueck...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libarchive/libarchive.changes    2012-08-12 
15:26:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libarchive.new/libarchive.changes       
2012-08-27 16:08:49.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Aug 23 08:30:05 UTC 2012 - dval...@suse.com
+
+- libarchive-ppc64.patch:
+  fix http://code.google.com/p/libarchive/issues/detail?id=277
+  test_option_b and test_option_nodump are failing on ppc64
+
+-------------------------------------------------------------------

New:
----
  libarchive-ppc64.patch

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

Other differences:
------------------
++++++ libarchive.spec ++++++
--- /var/tmp/diff_new_pack.cG3IGJ/_old  2012-08-27 16:08:53.000000000 +0200
+++ /var/tmp/diff_new_pack.cG3IGJ/_new  2012-08-27 16:08:53.000000000 +0200
@@ -36,6 +36,8 @@
 Source1:        baselibs.conf
 # PATCH-FIX-UPSTREAM libarchive-fix-checks.patch dims...@opensuse.org -- Fix 
GCC 4.7 side effects. Taken from upstream.
 Patch0:         libarchive-fix-checks.patch
+# PATCH-FIX-UPSTREAM libarchive-ppc64.patch dval...@suse.com -- fix tests 
failing on ppc64
+Patch1:         libarchive-ppc64.patch
 
 %description
 Libarchive is a programming library that can create and read several
@@ -134,6 +136,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %global optflags    %{optflags} -D_REENTRANT -pipe

++++++ libarchive-ppc64.patch ++++++
Index: libarchive-3.0.4/libarchive/archive_read_disk_entry_from_file.c
===================================================================
--- libarchive-3.0.4.orig/libarchive/archive_read_disk_entry_from_file.c
+++ libarchive-3.0.4/libarchive/archive_read_disk_entry_from_file.c
@@ -197,7 +197,7 @@ archive_read_disk_entry_from_file(struct
                                fd = open(path, O_RDONLY | O_NONBLOCK);
                }
                if (fd >= 0) {
-                       unsigned long stflags;
+                       int stflags;
                        r = ioctl(fd, EXT2_IOC_GETFLAGS, &stflags);
                        if (r == 0 && stflags != 0)
                                archive_entry_set_fflags(entry, stflags, 0);
Index: libarchive-3.0.4/libarchive/archive_read_disk_posix.c
===================================================================
--- libarchive-3.0.4.orig/libarchive/archive_read_disk_posix.c
+++ libarchive-3.0.4/libarchive/archive_read_disk_posix.c
@@ -984,7 +984,7 @@ next_entry(struct archive_read_disk *a,
 #elif defined(EXT2_IOC_GETFLAGS) && defined(EXT2_NODUMP_FL) &&\
       defined(HAVE_WORKING_EXT2_IOC_GETFLAGS)
                if (S_ISREG(st->st_mode) || S_ISDIR(st->st_mode)) {
-                       unsigned long stflags;
+                       int stflags;
 
                        t->entry_fd = open_on_current_dir(t,
                            tree_current_access_path(t), O_RDONLY | O_NONBLOCK);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to