pkgsrc-Bugs archive

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

pkg/39949: qemu 0.9.0nb1 does not compile on -current



>Number:         39949
>Category:       pkg
>Synopsis:       qemu 0.9.0nb1 does not compile on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 18 12:40:00 +0000 2008
>Originator:     Pierre Pronchery <khorben%defora.org@localhost>
>Release:        NetBSD 4.99.73, pkgsrc 2008Q3
>Organization:
>Environment:
System: NetBSD syn.defora.rom 4.99.73 NetBSD 4.99.73 (GENERIC) #0: Sun Oct 12 
16:16:47 CEST 2008 
khorben%syn.defora.rom@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Compiling qemu from pkgsrc fails when including "osdep.h" because size_t
may not be defined at that point. The trivial patch below fixes the
problem.

>How-To-Repeat:

$ cd /usr/pkgsrc/emulators/qemu
$ make package clean

>Fix:
I applied this:

$NetBSD$

--- osdep.h.orig        2007-02-05 23:01:54.000000000 +0000
+++ osdep.h
@@ -1,6 +1,7 @@
 #ifndef QEMU_OSDEP_H
 #define QEMU_OSDEP_H
 
+#include <sys/types.h>
 #include <stdarg.h>
 
 #define qemu_printf printf



Home | Main Index | Thread Index | Old Index