pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/x11/libdrm



On Mon, 13 Aug 2012 16:02:59 +0900, Thomas Klausner <wiz%netbsd.org@localhost> 
wrote:

On Mon, Aug 13, 2012 at 02:12:47PM +0900, OBATA Akio wrote:
Failed to build on NetBSD-5.1.2-i386:

Making all in intel
  CC     intel_bufmgr_gem.lo
intel_bufmgr_gem.c: In function 'drm_intel_gem_bo_reference':
intel_bufmgr_gem.c:392: warning: pointer targets in passing argument 1 of 
'atomic_inc_uint' differ in signedness
intel_bufmgr_gem.c: In function 'drm_intel_gem_bo_unreference_locked_timed':
intel_bufmgr_gem.c:1111: warning: pointer targets in passing argument 1 of 
'atomic_dec_uint_nv' differ in signedness
intel_bufmgr_gem.c: In function 'drm_intel_gem_bo_unreference':
intel_bufmgr_gem.c:1120: warning: pointer targets in passing argument 1 of 
'atomic_dec_uint_nv' differ in signedness
intel_bufmgr_gem.c: In function 'drm_intel_bo_gem_export_to_prime':
intel_bufmgr_gem.c:2479: error: 'O_CLOEXEC' undeclared (first use in this 
function)
intel_bufmgr_gem.c:2479: error: (Each undeclared identifier is reported only 
once
intel_bufmgr_gem.c:2479: error: for each function it appears in.)
*** Error code 1

Does the attached patch fix the problem for you?
 Thomas

Yes, it eliminate the build problem.
(but I'm not sure it's functionally OK)

--
OBATA Akio / obache%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index