Hello community, here is the log from the commit of package iscsitarget for openSUSE:Factory checked in at Fri Jun 12 20:18:57 CEST 2009. -------- --- iscsitarget/iscsitarget.changes 2009-06-08 01:01:09.000000000 +0200 +++ iscsitarget/iscsitarget.changes 2009-06-12 15:21:58.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jun 12 15:21:46 CEST 2009 - coolo@novell.com + +- fix build with glibc 2.10 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- iscsitarget-0.4.17.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iscsitarget.spec ++++++ --- /var/tmp/diff_new_pack.dc9719/_old 2009-06-12 20:17:51.000000000 +0200 +++ /var/tmp/diff_new_pack.dc9719/_new 2009-06-12 20:17:51.000000000 +0200 @@ -26,7 +26,7 @@ PreReq: %fillup_prereq %insserv_prereq /bin/cat /bin/rm AutoReqProv: on Version: 0.4.17 -Release: 2 +Release: 3 Requires: iscsitarget-kmp Summary: Open Source iSCSI Target with Professional Features Source: %{name}-%{version}.tar.gz @@ -35,6 +35,7 @@ Source3: services Patch0: iscsitarget-2.6.29.patch Patch1: iscsitarget-2.6.30.patch +Patch2: iscsitarget-0.4.17.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %suse_kernel_module_package -n %{name} -p %{S:2} kdump um @@ -71,10 +72,11 @@ %setup %patch0 %patch1 +%patch2 -p0 echo "iscsi_trgt.ko yes" > kernel/Module.supported %build -%{__make} CFLAGS="${RPM_OPT_FLAGS} -I../include" bindir=/usr/sbin -C usr +%{__make} CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE -I../include" bindir=/usr/sbin -C usr for flavor in %flavors_to_build; do rm -rf obj/$flavor mkdir -p obj/$flavor @@ -125,6 +127,8 @@ %doc %{_mandir}/man8/* %changelog +* Fri Jun 12 2009 coolo@novell.com +- fix build with glibc 2.10 * Mon Jun 08 2009 ro@suse.de - fix build with 2.6.30 * Mon Apr 20 2009 ro@suse.de ++++++ iscsitarget-0.4.17.diff ++++++ --- usr/message.c.orig 2009-06-12 15:13:31.000000000 +0200 +++ usr/message.c 2009-06-12 15:13:41.000000000 +0200 @@ -4,6 +4,7 @@ * This code is licenced under the GPL. */ +#define __USE_GNU #include <errno.h> #include <stdio.h> #include <stdlib.h> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org