pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/46104: kdegames4 ALIGN defined in sys/param.h NetBSD 6.99.3 patch
The following reply was made to PR pkg/46104; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/46104: kdegames4 ALIGN defined in sys/param.h NetBSD 6.99.3
patch
Date: Sun, 4 Mar 2012 04:33:15 +0000
On Fri, Mar 02, 2012 at 08:50:03PM +0000, Mark Davies wrote:
> > Unfortunately, it'll still be needed for netbsd-5.
>
> Thats what I had thought but the kde code itself has changed from
>
> union {
> struct cmsghdr cm;
> char control[CMSG_SPACE(sizeof(int))];
> } control_un;
>
> which wouldn't compile to
>
> QVarLengthArray<char> control_un(qMax(sizeof(cmsghdr),
> static_cast<size_t>(CMSG_SPACE(sizeof(int)))));
>
> which will.
Huh. Indeed...
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index