$NetBSD: patch-ac,v 1.9 2007/12/18 00:16:56 joerg Exp $ --- vl.c.orig 2007-05-02 01:56:26.000000000 +0200 +++ vl.c 2007-05-02 01:57:42.000000000 +0200 @@ -2385,6 +2385,9 @@ static int pp_ioctl(CharDriverState *chr, int cmd, void *arg) { +#ifdef __NetBSD__ + return ENOTSUP; +#endif ParallelCharDriver *drv = chr->opaque; int fd = drv->fd; uint8_t b; @@ -2473,6 +2476,9 @@ static CharDriverState *qemu_chr_open_pp(const char *filename) { +#ifdef __NetBSD__ + return ENOTSUP; +#endif CharDriverState *chr; ParallelCharDriver *drv; int fd;