pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51509: cad/qcad build fails on NetBSD/i386-7.0_STABLE



The following reply was made to PR pkg/51509; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/51509: cad/qcad build fails on NetBSD/i386-7.0_STABLE
Date: Tue, 27 Sep 2016 21:41:20 -0500 (CDT)

 On Mon, 26 Sep 2016, David Holland wrote:
 
 >  On Mon, Sep 26, 2016 at 01:45:01AM +0000, jdbaker%mylinuxisp.com@localhost wrote:
 >   >
 >   > RMetaTypes.h:143:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
 >   >  Q_DECLARE_METATYPE(unsigned int*)
 >  
 >  Wrapping the unsigned int one (if you can tell which one it is) in
 >  #ifdef _LP64 should make it shut up. On 32-bit machines size_t ==
 >  unsigned int.
 
 The following patch seems to solve the problem.  The build is proceeding
 but not yet finished.
 
 +--- src/core/RMetaTypes.h.orig	2016-08-29 01:49:22.000000000 -0500
 ++++ src/core/RMetaTypes.h	2016-09-27 21:34:47.000000000 -0500
 +@@ -140,7 +140,9 @@
 + #include "RSingleApplication.h"
 + 
 + Q_DECLARE_METATYPE(int*)
 ++#ifdef _LP64
 + Q_DECLARE_METATYPE(unsigned int*)
 ++#endif
 + Q_DECLARE_METATYPE(qint64*)
 + 
 + #if !defined Q_OS_WIN && !defined Q_OS_LINUX && !defined Q_OS_FREEBSD
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index