Hello community, here is the log from the commit of package libmemcached for openSUSE:Factory checked in at 2012-11-20 13:08:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmemcached (Old) and /work/SRC/openSUSE:Factory/.libmemcached.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmemcached", Maintainer is "sch...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/libmemcached/libmemcached.changes 2012-10-07 08:27:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libmemcached.new/libmemcached.changes 2012-11-20 13:08:10.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Nov 19 16:19:25 UTC 2012 - dval...@suse.com + +- fix defined but not used variable error on bigendian machines + (libmemcached-bigendian.patch) + +------------------------------------------------------------------- New: ---- libmemcached-bigendian.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmemcached.spec ++++++ --- /var/tmp/diff_new_pack.uUcJfX/_old 2012-11-20 13:08:14.000000000 +0100 +++ /var/tmp/diff_new_pack.uUcJfX/_new 2012-11-20 13:08:14.000000000 +0100 @@ -26,6 +26,7 @@ Url: http://libmemcached.org Source0: https://launchpad.net/libmemcached/1.0/%{version}/+download/libmemcached-%{version}.tar.gz Source1: https://launchpad.net/libmemcached/1.0/%{version}/+download/libmemcached-%{version}.tar.gz.asc +Patch0: libmemcached-bigendian.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # List of additional build dependencies BuildRequires: gcc-c++ @@ -81,6 +82,7 @@ %prep %setup -q +%patch0 -p1 %build %configure --with-memcached=%{_sbindir}/memcached --disable-static --with-pic ++++++ libmemcached-bigendian.patch ++++++ Index: libmemcached-1.0.11/libhashkit/jenkins.cc =================================================================== --- libmemcached-1.0.11.orig/libhashkit/jenkins.cc +++ libmemcached-1.0.11/libhashkit/jenkins.cc @@ -59,12 +59,13 @@ In which case, the hash table should hav uint32_t hashkit_jenkins(const char *key, size_t length, void *) { uint32_t a,b,c; /* internal state */ - union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */ - +#ifndef WORDS_BIGENDIAN + union { const void *ptr; size_t i; } u; + u.ptr = key; +#endif /* Set up the internal state */ a = b = c = 0xdeadbeef + ((uint32_t)length) + JENKINS_INITVAL; - u.ptr = key; #ifndef WORDS_BIGENDIAN if ((u.i & 0x3) == 0) { -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org