SPECS: strace.spec - pass -DHAVE_STRUCT_DQBLK_DQB_CURBLOCKS (makes...

Adam Gołębiowski adamg at biomerieux.pl
Mon Dec 12 01:04:19 CET 2005


On Mon, Dec 12, 2005 at 12:52:33AM +0100, adamg wrote:
> Author: adamg                        Date: Sun Dec 11 23:52:33 2005 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - pass -DHAVE_STRUCT_DQBLK_DQB_CURBLOCKS (makes it build)
> 
> ---- Files affected:
> SPECS:
>    strace.spec (1.76 -> 1.77) 
> 
> ---- Diffs:
> 
> ================================================================
> Index: SPECS/strace.spec
> diff -u SPECS/strace.spec:1.76 SPECS/strace.spec:1.77
> --- SPECS/strace.spec:1.76	Tue Aug  9 14:18:18 2005
> +++ SPECS/strace.spec	Mon Dec 12 00:52:27 2005
> @@ -111,7 +111,8 @@
>  %{__autoheader}
>  %{__automake}
>  %configure
> -%{__make}
> +%{__make} \
> +	CFLAGS="%{rpmcflags} -DHAVE_STRUCT_DQBLK_DQB_CURBLOCKS"

In glibc-2.3.6 (Ac) /usr/include/sys/quota.h::struct dqblk has curspace
member, while glibc-2.3.90 (Th) has curblocks. 

What do we do with these? Branch it now or wait till Ac gets released?
Or better apply some checks in configure?

-- 
   .. ::  http://www.pomocdladominiki.com.pl/ -- możesz pomóc :: ..
                         | Everybody needs someone sure, someone true,
   PLD Linux developer   | Everybody needs some solid rock, I know I do.



More information about the pld-devel-en mailing list