summaryrefslogtreecommitdiff
path: root/net/gnet/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-02-13 00:29:52 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-02-13 00:29:52 +0000
commit3b04905aab6e2158da64bdf217a97e7d242b8cf2 (patch)
tree3db5b17d74a94bd113f3ebf5417fa51b31bc9d84 /net/gnet/patches
parentff29b76569027480f429242376031b77ef52e905 (diff)
downloadpkgsrc-3b04905aab6e2158da64bdf217a97e7d242b8cf2.tar.gz
correct some types to make this compile on alpha. Passes 3/4 tests so this
is only a partial improvement.
Diffstat (limited to 'net/gnet/patches')
-rw-r--r--net/gnet/patches/patch-aa32
-rw-r--r--net/gnet/patches/patch-ab18
-rw-r--r--net/gnet/patches/patch-ac25
-rw-r--r--net/gnet/patches/patch-ad18
-rw-r--r--net/gnet/patches/patch-ae28
5 files changed, 121 insertions, 0 deletions
diff --git a/net/gnet/patches/patch-aa b/net/gnet/patches/patch-aa
new file mode 100644
index 00000000000..ebb16595a79
--- /dev/null
+++ b/net/gnet/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.3 2003/02/13 00:29:53 dmcmahill Exp $
+
+--- src/iochannel.c.orig Wed Aug 14 12:51:02 2002
++++ src/iochannel.c Wed Feb 12 09:58:27 2003
+@@ -51,5 +51,5 @@
+ {
+ guint nleft;
+- guint nwritten;
++ gsize nwritten;
+ gchar* ptr;
+ GIOError error = G_IO_ERROR_NONE;
+@@ -108,5 +108,5 @@
+ {
+ guint nleft;
+- guint nread;
++ gsize nread;
+ gchar* ptr;
+ GIOError error = G_IO_ERROR_NONE;
+@@ -476,5 +476,5 @@
+ else if (condition & G_IO_OUT)
+ {
+- guint bytes_written;
++ gsize bytes_written;
+
+ if (g_io_channel_write(iochannel,
+@@ -662,5 +662,5 @@
+ GIOError error;
+ guint bytes_to_read;
+- guint bytes_read;
++ gsize bytes_read;
+ gint bytes_processed;
+
diff --git a/net/gnet/patches/patch-ab b/net/gnet/patches/patch-ab
new file mode 100644
index 00000000000..3d67f534a2d
--- /dev/null
+++ b/net/gnet/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1 2003/02/13 00:29:53 dmcmahill Exp $
+
+--- examples/echoserver.c.orig Thu Sep 26 13:58:59 2002
++++ examples/echoserver.c Wed Feb 12 10:00:59 2003
+@@ -319,5 +319,5 @@
+ {
+ GIOError error;
+- guint bytes_read;
++ gsize bytes_read;
+
+ /* Read the data into our buffer */
+@@ -369,5 +369,5 @@
+ {
+ GIOError error;
+- guint bytes_written;
++ gsize bytes_written;
+
+ /* Write the data out */
diff --git a/net/gnet/patches/patch-ac b/net/gnet/patches/patch-ac
new file mode 100644
index 00000000000..8475ed819cf
--- /dev/null
+++ b/net/gnet/patches/patch-ac
@@ -0,0 +1,25 @@
+$NetBSD: patch-ac,v 1.1 2003/02/13 00:29:53 dmcmahill Exp $
+
+--- examples/echoclient.c.orig Thu Sep 26 13:58:59 2002
++++ examples/echoclient.c Wed Feb 12 10:03:38 2003
+@@ -278,5 +278,5 @@
+ GIOError error;
+ gchar buffer[1024];
+- guint bytes_read;
++ gsize bytes_read;
+
+ /* Read the data into our buffer */
+@@ -332,5 +332,5 @@
+ GIOError error;
+ gchar buffer[1024];
+- guint bytes_read;
++ gsize bytes_read;
+
+ /* Read the data into our buffer */
+@@ -451,5 +451,5 @@
+ GIOError error;
+ gchar buffer[1024];
+- guint bytes_read;
++ gsize bytes_read;
+
+ /* Read the data into our buffer */
diff --git a/net/gnet/patches/patch-ad b/net/gnet/patches/patch-ad
new file mode 100644
index 00000000000..e210c164deb
--- /dev/null
+++ b/net/gnet/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1 2003/02/13 00:29:53 dmcmahill Exp $
+
+--- examples/echoserver-unix.c.orig Thu Sep 26 13:58:59 2002
++++ examples/echoserver-unix.c Wed Feb 12 10:04:48 2003
+@@ -234,5 +234,5 @@
+ if (c & G_IO_IN) {
+ GIOError e;
+- guint bytes_read;
++ gsize bytes_read;
+
+ /* Read the data into our buffer */
+@@ -265,5 +265,5 @@
+ if (c & G_IO_OUT) {
+ GIOError e;
+- guint bytes_written;
++ gsize bytes_written;
+ /* Write the data out */
+ e = g_io_channel_write(iochannel, cs->buffer, cs->n,
diff --git a/net/gnet/patches/patch-ae b/net/gnet/patches/patch-ae
new file mode 100644
index 00000000000..eac9b77eaf0
--- /dev/null
+++ b/net/gnet/patches/patch-ae
@@ -0,0 +1,28 @@
+$NetBSD: patch-ae,v 1.1 2003/02/13 00:29:53 dmcmahill Exp $
+
+--- examples/hfetch.c.orig Thu Sep 26 13:58:59 2002
++++ examples/hfetch.c Wed Feb 12 10:06:35 2003
+@@ -115,4 +115,5 @@
+ GIOError error;
+ guint n;
++ gsize n2;
+
+
+@@ -143,5 +144,5 @@
+ while (1)
+ {
+- error = g_io_channel_read(iochannel, buffer, sizeof(buffer), &n);
++ error = g_io_channel_read(iochannel, buffer, sizeof(buffer), &n2);
+ if (error != G_IO_ERROR_NONE)
+ {
+@@ -150,8 +151,8 @@
+ }
+
+- if (n == 0)
++ if (n2 == 0)
+ break;
+
+- fwrite(buffer, n, 1, stdout);
++ fwrite(buffer, n2, 1, stdout);
+ }
+