summaryrefslogtreecommitdiffstats
path: root/tightvnc/build/tightvnc-gcc34.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-09-15 19:28:21 +0000
committer Eric Hameleers <alien@slackware.com>2007-09-15 19:28:21 +0000
commit7b2d7aa639f77a467760ec00759e06588790256b (patch)
tree94cc314c2669ab50b9d19066ec3fcc3e1603900f /tightvnc/build/tightvnc-gcc34.patch
parent5ee7f539ef3e6c0c1d45d16b10862ddecebba641 (diff)
downloadasb-7b2d7aa639f77a467760ec00759e06588790256b.tar.gz
asb-7b2d7aa639f77a467760ec00759e06588790256b.tar.xz
Initial revision
Diffstat (limited to 'tightvnc/build/tightvnc-gcc34.patch')
-rw-r--r--tightvnc/build/tightvnc-gcc34.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/tightvnc/build/tightvnc-gcc34.patch b/tightvnc/build/tightvnc-gcc34.patch
new file mode 100644
index 00000000..bc337f1a
--- /dev/null
+++ b/tightvnc/build/tightvnc-gcc34.patch
@@ -0,0 +1,53 @@
+--- vnc_unixsrc/Xvnc/lib/Xau/AuRead.c.old 2004-09-17 20:34:15.226303649 -0700
++++ vnc_unixsrc/Xvnc/lib/Xau/AuRead.c 2004-09-17 20:34:31.743582524 -0700
+@@ -49,7 +49,7 @@
+ FILE *file;
+ {
+ unsigned short len;
+- char *data, *malloc ();
++ char *data;
+
+ if (read_short (&len, file) == 0)
+ return 0;
+@@ -76,7 +76,6 @@
+ {
+ Xauth local;
+ Xauth *ret;
+- char *malloc ();
+
+ if (read_short (&local.family, auth_file) == 0)
+ return 0;
+--- vnc_unixsrc/Xvnc/lib/Xau/AuWrite.c.old 2004-09-17 20:37:50.192903801 -0700
++++ vnc_unixsrc/Xvnc/lib/Xau/AuWrite.c 2004-09-17 20:37:58.067083299 -0700
+@@ -61,8 +61,6 @@
+ FILE *auth_file;
+ Xauth *auth;
+ {
+- char *malloc ();
+-
+ if (write_short (auth->family, auth_file) == 0)
+ return 0;
+ if (write_counted_string (auth->address_length, auth->address, auth_file) == 0)
+--- vnc_unixsrc/Xvnc/lib/Xdmcp/Alloc.c.old 2004-09-17 20:35:33.598137184 -0700
++++ vnc_unixsrc/Xvnc/lib/Xdmcp/Alloc.c 2004-09-17 20:35:40.435424729 -0700
+@@ -31,8 +31,6 @@
+
+ /* stubs for use when Xalloc, Xrealloc and Xfree are not defined */
+
+-extern char *malloc (), *realloc ();
+-
+ unsigned long *
+ Xalloc (amount)
+ unsigned amount;
+--- vnc_unixsrc/Xvnc/include/Xpoll.h.old 2004-09-19 18:10:11.646953351 -0700
++++ vnc_unixsrc/Xvnc/include/Xpoll.h 2004-09-19 18:31:06.019245838 -0700
+@@ -65,6 +65,8 @@
+ #define NBBY 8 /* number of bits in a byte */
+ #endif
+
++#define fds_bits __fds_bits
++
+ #ifndef NFDBITS
+ #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask */
+ #endif
+