pkgsrc/graphics/cqcam/patches/patch-al
rillig fd0f980dbe Fixed the build problems on Solaris. The next problem is that the
program tries to install a kernel driver allowing unrestricted access to
all hardware ports. Unprivileged users cannot do that anyway.

XXX: Should we disallow the installation on Solaris at all because of this?
2007-01-17 02:25:45 +00:00

15 lines
454 B
Text

$NetBSD: patch-al,v 1.1 2007/01/17 02:25:45 rillig Exp $
--- libcqcam/solaris-ioaccess.C.orig 2000-08-17 12:31:03.000000000 +0200
+++ libcqcam/solaris-ioaccess.C 2007-01-17 03:08:14.274891300 +0100
@@ -4,8 +4,10 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
+#if defined(__i386) /* XXX: Are these headers needed at all? */
#include <sys/sysi86.h>
#include <sys/v86.h>
+#endif
#include <sys/psw.h>
#include "solaris-io.h"