pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/strace/patches fix build for current



details:   https://anonhg.NetBSD.org/pkgsrc/rev/784b7d54b2ba
branches:  trunk
changeset: 542215:784b7d54b2ba
user:      christos <christos%pkgsrc.org@localhost>
date:      Thu May 08 20:03:03 2008 +0000

description:
fix build for current

diffstat:

 sysutils/strace/patches/patch-aj |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 928011cdfdbe -r 784b7d54b2ba sysutils/strace/patches/patch-aj
--- a/sysutils/strace/patches/patch-aj  Thu May 08 18:59:38 2008 +0000
+++ b/sysutils/strace/patches/patch-aj  Thu May 08 20:03:03 2008 +0000
@@ -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 @@
 +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 @@
 +      print ""
 +      file = "";
 +}
-+/^#[  ]*define[       ]*[A-Z]*[       ]*_IO/ {
++/^#[  ]*define[       ]*[A-Z]*[       ]*_IO[RW]\(/ {
 +      
 +      # find where the name starts
 +      for (i = 1; i <= NF; i++)



Home | Main Index | Thread Index | Old Index