From b6503b7816a2e12662c67ecf41943ac858f68d77 Mon Sep 17 00:00:00 2001 From: romke Date: Thu, 13 Oct 2005 23:38:33 +0000 Subject: [PATCH] - fixed dietlibc build with linux-libc-headers-2.6.12, on 2.6.12 even if you !define WANT_KERNEL_TYPES you must use GLIBC to not use types from types.h, - release 2.2, STBR (test-build --with dietlibc). Changed files: util-vserver.spec -> 1.75 --- util-vserver.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util-vserver.spec b/util-vserver.spec index d34b6de..38a4eac 100644 --- a/util-vserver.spec +++ b/util-vserver.spec @@ -9,7 +9,7 @@ Summary: Linux virtual server utilities Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych Name: util-vserver Version: 0.30.208 -Release: 2.1 +Release: 2.2 License: GPL Group: Applications/System Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2 @@ -273,6 +273,9 @@ install %{SOURCE7} package-menagament.txt cp -a compat.h vserver-compat.h %build +%if %{with dietlibc} +CFLAGS="%{rpmcflags} -D__GLIBC__" +%endif %{__aclocal} -I m4 %{__automake} %{__autoconf} -- 2.43.0