summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/bind/files/bind-8.1.2-fds.patch')
-rw-r--r--net-dns/bind/files/bind-8.1.2-fds.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-dns/bind/files/bind-8.1.2-fds.patch b/net-dns/bind/files/bind-8.1.2-fds.patch
new file mode 100644
index 000000000000..54a3404d2d9f
--- /dev/null
+++ b/net-dns/bind/files/bind-8.1.2-fds.patch
@@ -0,0 +1,43 @@
+--- bind-8.1.2/src/lib/isc/eventlib.c~ Fri Mar 20 18:26:24 1998
++++ bind-8.1.2/src/lib/isc/eventlib.c Wed Jan 6 17:44:03 1999
+@@ -290,9 +290,9 @@
+ evPrintf(ctx, 4,
+ "pselect(%d, 0x%lx, 0x%lx, 0x%lx, %d.%09ld)\n",
+ ctx->fdMax+1,
+- (u_long)ctx->rdLast.fds_bits[0],
+- (u_long)ctx->wrLast.fds_bits[0],
+- (u_long)ctx->exLast.fds_bits[0],
++ __FDS_BITS(&ctx->rdLast)[0],
++ __FDS_BITS(&ctx->wrLast)[0],
++ __FDS_BITS(&ctx->exLast)[0],
+ tp ? tp->tv_sec : -1,
+ tp ? tp->tv_nsec : -1);
+
+--- bind-8.1.2/src/lib/isc/ev_files.c~ Thu Feb 5 20:53:52 1998
++++ bind-8.1.2/src/lib/isc/ev_files.c Wed Jan 6 17:46:18 1999
+@@ -139,9 +139,9 @@
+ evPrintf(ctx, 5,
+ "evSelectFD(fd %d, mask 0x%x): new masks: 0x%lx 0x%lx 0x%lx\n",
+ fd, eventmask,
+- (u_long)ctx->rdNext.fds_bits[0],
+- (u_long)ctx->wrNext.fds_bits[0],
+- (u_long)ctx->exNext.fds_bits[0]);
++ __FDS_BITS(&ctx->rdNext)[0],
++ __FDS_BITS(&ctx->wrNext)[0],
++ __FDS_BITS(&ctx->exNext)[0]);
+
+ return (0);
+ }
+@@ -250,9 +250,9 @@
+ evPrintf(ctx, 5,
+ "evDeselectFD(fd %d, mask 0x%x): new masks: 0x%lx 0x%lx 0x%lx\n",
+ del->fd, eventmask,
+- (u_long)ctx->rdNext.fds_bits[0],
+- (u_long)ctx->wrNext.fds_bits[0],
+- (u_long)ctx->exNext.fds_bits[0]);
++ __FDS_BITS(&ctx->rdNext)[0],
++ __FDS_BITS(&ctx->wrNext)[0],
++ __FDS_BITS(&ctx->exNext)[0]);
+
+ /* Couldn't free it before now since we were using fields out of it. */
+ FREE(del);