Hello community,

here is the log from the commit of package cloop for openSUSE:Factory checked 
in at 2015-02-22 17:26:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cloop (Old)
 and      /work/SRC/openSUSE:Factory/.cloop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cloop"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cloop/cloop.changes      2014-05-13 
20:43:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cloop.new/cloop.changes 2015-02-22 
17:26:14.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb 19 20:32:52 UTC 2015 - [email protected]
+
+- Add cloop-3.19.diff to make cloop compile with Linux 3.19+
+
+-------------------------------------------------------------------

New:
----
  cloop-3.19.diff

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

Other differences:
------------------
++++++ cloop.spec ++++++
--- /var/tmp/diff_new_pack.rWxBo5/_old  2015-02-22 17:26:15.000000000 +0100
+++ /var/tmp/diff_new_pack.rWxBo5/_new  2015-02-22 17:26:15.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cloop
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -29,6 +29,7 @@
 Patch1:         cloop-kmod-install.diff
 Patch2:         cloop-3.9.diff
 Patch3:         cloop-3.13.diff
+Patch4:         cloop-3.19.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  kernel-syms
@@ -55,8 +56,11 @@
 %prep
 %setup -q
 %patch -P 1 -P 2 -p1
-%if 0%{?suse_version} >= 1315
+%if 0%{?suse_version} >= 1320
 %patch -P 3 -p1
+%patch -P 4 -p1
+%endif
+%if 0%{?suse_version} >= 1321
 %endif
 
 %build

++++++ cloop-3.19.diff ++++++
---
 cloop.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: cloop-2.639/cloop.c
===================================================================
--- cloop-2.639.orig/cloop.c
+++ cloop-2.639/cloop.c
@@ -423,7 +423,7 @@ static int cloop_set_file(int cloop_num,
  unsigned int i, offsets_read, total_offsets;
  int isblkdev;
  int error = 0;
- inode = file->f_dentry->d_inode;
+ inode = file->f_path.dentry->d_inode;
  isblkdev=S_ISBLK(inode->i_mode)?1:0;
  if(!isblkdev&&!S_ISREG(inode->i_mode))
   {
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to