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: Mark Davies <mark%ecs.vuw.ac.nz@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: Sat, 3 Mar 2012 09:44:57 +1300

 On Friday 02 March 2012 08:55:02 you 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.
 
 cheers
 mark
 


Home | Main Index | Thread Index | Old Index