Hello community,

here is the log from the commit of package libsatsolver for openSUSE:Factory
checked in at Thu Mar 24 11:23:34 CET 2011.



--------
--- libsatsolver/libsatsolver.changes   2011-03-02 12:34:46.000000000 +0100
+++ /mounts/work_src_done/STABLE/libsatsolver/libsatsolver.changes      
2011-03-24 11:04:36.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Mar 24 10:04:16 UTC 2011 - [email protected]
+
+- add missing else part in rpmdbid2db()
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  5d6f117d6df9e179f06221ea9c29a7a95de1027c.patch

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

Other differences:
------------------
++++++ libsatsolver.spec ++++++
--- /var/tmp/diff_new_pack.IJgtXb/_old  2011-03-24 11:23:25.000000000 +0100
+++ /var/tmp/diff_new_pack.IJgtXb/_new  2011-03-24 11:23:25.000000000 +0100
@@ -19,10 +19,11 @@
 
 Name:           libsatsolver
 Version:        0.16.4
-Release:        1
+Release:        2
 License:        BSD3c
 Url:            git://gitorious.org/opensuse/sat-solver.git
 Source:         satsolver-%{version}.tar.bz2
+Patch0:         5d6f117d6df9e179f06221ea9c29a7a95de1027c.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Group:          Development/Libraries/C and C++
 Prefix:         /usr
@@ -121,6 +122,7 @@
 
 %prep
 %setup -n satsolver-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS"

++++++ 5d6f117d6df9e179f06221ea9c29a7a95de1027c.patch ++++++
>From 5d6f117d6df9e179f06221ea9c29a7a95de1027c Mon Sep 17 00:00:00 2001
From: Michael Schroeder <[email protected]>
Date: Thu, 24 Mar 2011 10:53:52 +0100
Subject: [PATCH] - add missing else part in rpmdbid2db()

---
 ext/repo_rpmdb.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c
index 801ed4b..77d8542 100644
--- a/ext/repo_rpmdb.c
+++ b/ext/repo_rpmdb.c
@@ -1259,11 +1259,12 @@ static inline void rpmdbid2db(unsigned char *db, Id id, 
int byteswapped)
 #else
 # if defined(WORDS_BIGENDIAN)
   if (!byteswapped)
-    db[0] = id >> 24, db[1] = id >> 16, db[2] = id >> 8, db[3] = id;
 # else
   if (byteswapped)
-    db[3] = id >> 24, db[2] = id >> 16, db[1] = id >> 8, db[0] = id;
 # endif
+    db[0] = id >> 24, db[1] = id >> 16, db[2] = id >> 8, db[3] = id;
+  else
+    db[3] = id >> 24, db[2] = id >> 16, db[1] = id >> 8, db[0] = id;
 #endif
 }
 
-- 
1.6.1

++++++ satsolver-0.16.4.tar.bz2 ++++++
libsatsolver/satsolver-0.16.4.tar.bz2 
/mounts/work_src_done/STABLE/libsatsolver/satsolver-0.16.4.tar.bz2 differ: char 
11, line 1


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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to