summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2008-05-08 20:03:03 +0000
committerchristos <christos@pkgsrc.org>2008-05-08 20:03:03 +0000
commitebc460750d9fb357ccfa16e7915c0776becece79 (patch)
tree0b4b4d1dd735c7f3b971f3abbefcaa1a99376e74 /sysutils
parenta235d3b92577140fc6a4347c6f3b12ad6e2bbf2a (diff)
downloadpkgsrc-ebc460750d9fb357ccfa16e7915c0776becece79.tar.gz
fix build for current
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/strace/patches/patch-aj14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/strace/patches/patch-aj b/sysutils/strace/patches/patch-aj
index 4b3ab2fb014..300e3c05e5c 100644
--- a/sysutils/strace/patches/patch-aj
+++ b/sysutils/strace/patches/patch-aj
@@ -1,10 +1,10 @@
-$NetBSD: patch-aj,v 1.3 2007/04/28 03:42:31 christos Exp $
+$NetBSD: patch-aj,v 1.4 2008/05/08 20:03:03 christos Exp $
---- /dev/null 2007-04-27 23:20:36.000000000 -0400
-+++ netbsd/ioctlent.sh 2007-04-27 23:27:49.000000000 -0400
-@@ -0,0 +1,123 @@
+--- /dev/null 2008-05-08 16:01:35.000000000 -0400
++++ netbsd/ioctlent.sh 2008-05-08 15:54:29.000000000 -0400
+@@ -0,0 +1,125 @@
+#!/bin/sh
-+# $NetBSD: patch-aj,v 1.3 2007/04/28 03:42:31 christos Exp $
++# $NetBSD: patch-aj,v 1.4 2008/05/08 20:03:03 christos Exp $
+#
+# Copyright (c) 1994
+# The Regents of the University of California. All rights reserved.
@@ -47,6 +47,8 @@ $NetBSD: patch-aj,v 1.3 2007/04/28 03:42:31 christos Exp $
+echo "struct lwp;"
+echo "struct videomemory_t { int _xxx; };" # XXX arm video lossage
+echo "typedef struct videomemory_t videomemory_t;" # XXX arm video lossage
++echo "typedef int domid_t;" # XEN lossage
++
+echo "#include <sys/types.h>"
+echo "#include <sys/param.h>"
+echo "#include <sys/disk.h>"
@@ -97,7 +99,7 @@ $NetBSD: patch-aj,v 1.3 2007/04/28 03:42:31 christos Exp $
+ print ""
+ file = "";
+}
-+/^#[ ]*define[ ]*[A-Z]*[ ]*_IO/ {
++/^#[ ]*define[ ]*[A-Z]*[ ]*_IO[RW]\(/ {
+
+ # find where the name starts
+ for (i = 1; i <= NF; i++)