diff options
author | wennmach <wennmach> | 2005-03-15 15:58:52 +0000 |
---|---|---|
committer | wennmach <wennmach> | 2005-03-15 15:58:52 +0000 |
commit | a3bb19858261a0432ef207ef4c3757e5c6d1bd2b (patch) | |
tree | 8861d10442c9b9314085e82332ee85bc096292b1 /net/arla/patches/patch-ag | |
parent | 824ad1c1680ee26ec5c39dc066633d5c83416fb4 (diff) | |
download | pkgsrc-a3bb19858261a0432ef207ef4c3757e5c6d1bd2b.tar.gz |
Update arla to 0.38. The update is necessary to support NetBSD-2.0.
The update during the pkgsrc freeze has been approved by <wiz>.
Two patches have been provided by <christos>.
Tested on NetBSD-1.6.1/i386 and NetBSD-2.0/i386.
Closes PR pkg/20906.
Diffstat (limited to 'net/arla/patches/patch-ag')
-rw-r--r-- | net/arla/patches/patch-ag | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net/arla/patches/patch-ag b/net/arla/patches/patch-ag new file mode 100644 index 00000000000..4484da3048a --- /dev/null +++ b/net/arla/patches/patch-ag @@ -0,0 +1,51 @@ +$NetBSD: patch-ag,v 1.3 2005/03/15 15:58:52 wennmach Exp $ + +from christos + +--- nnpfs/bsd/nnpfs_vnodeops-common.c.orig 2004-08-09 10:25:39.000000000 -0400 ++++ nnpfs/bsd/nnpfs_vnodeops-common.c 2004-12-22 21:34:18.000000000 -0500 +@@ -90,7 +90,7 @@ + error = nnpfs_message_rpc(nnpfsp->fd, &msg.header, sizeof(msg), p); + + if (error == 0) +- error = ((struct nnpfs_message_wakeup *) & msg)->error; ++ error = ((struct nnpfs_message_wakeup *)(void *)& msg)->error; + } else { + goto done; + } +@@ -121,7 +121,7 @@ + msg.handle = xn->handle; + error = nnpfs_message_rpc(nnpfsp->fd, &msg.header, sizeof(msg), p); + if (error == 0) +- error = ((struct nnpfs_message_wakeup *) & msg)->error; ++ error = ((struct nnpfs_message_wakeup *)(void *)& msg)->error; + } else { + goto done; + } +@@ -169,7 +169,7 @@ + error = nnpfs_message_rpc(nnpfsp->fd, &msg.header, sizeof(msg), p); + + if (error == 0) +- error = ((struct nnpfs_message_wakeup *) & msg)->error; ++ error = ((struct nnpfs_message_wakeup *)(void *)& msg)->error; + + } while (error == 0); + +@@ -227,7 +227,7 @@ + error = nnpfs_message_rpc(nnpfsp->fd, &msg.header, sizeof(msg), p); + + if (error == 0) +- error = ((struct nnpfs_message_wakeup *) & msg)->error; ++ error = ((struct nnpfs_message_wakeup *)(void *)& msg)->error; + + if (error == 0) + xn->flags &= ~NNPFS_DATA_DIRTY; +@@ -490,7 +490,7 @@ + NNPFS_TOKEN_CLEAR(xn, NNPFS_ATTR_VALID, NNPFS_ATTR_MASK); + error = nnpfs_message_rpc(nnpfsp->fd, &msg.header, sizeof(msg), p); + if (error == 0) +- error = ((struct nnpfs_message_wakeup *) & msg)->error; ++ error = ((struct nnpfs_message_wakeup *)(void *)& msg)->error; + } + + done: |