Hello community, here is the log from the commit of package ctemplate for openSUSE:Factory checked in at Fri Feb 20 23:07:52 CET 2009. -------- --- ctemplate/ctemplate.changes 2009-02-16 17:45:03.000000000 +0100 +++ ctemplate/ctemplate.changes 2009-02-20 13:51:17.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Feb 20 13:48:51 CET 2009 - mhrusecky@suse.cz + +- corrected bswap function name - fixed build on ppc & s390 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- ctemplate-0.93-bswap.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ctemplate.spec ++++++ --- /var/tmp/diff_new_pack.i11919/_old 2009-02-20 23:06:55.000000000 +0100 +++ /var/tmp/diff_new_pack.i11919/_new 2009-02-20 23:06:55.000000000 +0100 @@ -21,12 +21,13 @@ Name: ctemplate Summary: Library for simple but powerful template language for C++ Version: 0.93 -Release: 1 +Release: 2 Group: Development/Libraries/C and C++ License: BSD 3-Clause Url: http://code.google.com/p/google-ctemplate/ Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-0.92-gcc44.patch +Patch0: %{name}-0.92-gcc44.patch +Patch1: %{name}-0.93-bswap.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ @@ -76,7 +77,8 @@ %prep %setup -%patch -p1 +%patch0 -p1 +%patch1 -p1 %build %configure --disable-static @@ -111,6 +113,8 @@ %{_defaultdocdir}/%{name}/[a-z]* %changelog +* Fri Feb 20 2009 mhrusecky@suse.cz +- corrected bswap function name - fixed build on ppc & s390 * Mon Feb 16 2009 mhrusecky@suse.cz - version update (version 0.93) * New AUTOESCAPE pragma: alternative to GetTemplateWithAutoescaping (jad) ++++++ ctemplate-0.93-bswap.patch ++++++ diff -Naru ctemplate-0.93/src/template_string.cc ctemplate-0.93-new/src/template_string.cc --- ctemplate-0.93/src/template_string.cc 2009-01-31 00:52:06.000000000 +0100 +++ ctemplate-0.93-new/src/template_string.cc 2009-02-20 12:54:17.561192564 +0100 @@ -85,7 +85,7 @@ // we do what we can to make this as efficient as possible. #if defined(HAVE_BYTESWAP_H) # include <byteswap.h> // GNU (especially linux) -# define BSWAP32(x) bswap32(x) +# define BSWAP32(x) bswap_32(x) #elif defined(HAVE_LIBKERN_OSBYTEORDER_H) # include <libkern/OSByteOrder.h> // OS X # define BSWAP32(x) OSSwapInt32(x) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org