diff options
author | ahze <ahze@FreeBSD.org> | 2008-03-24 23:46:51 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2008-03-24 23:46:51 +0800 |
commit | 0a9b93dcfee55040aa5d125dedae1c0e8c17bb0f (patch) | |
tree | d1c083494f09c394ddbca04e41e7279a3efd4284 /net/gtk-vnc/files | |
parent | cf6e65fd44d5f81eee7b07d2bd4390392399a957 (diff) | |
download | freebsd-ports-gnome-0a9b93dcfee55040aa5d125dedae1c0e8c17bb0f.tar.gz freebsd-ports-gnome-0a9b93dcfee55040aa5d125dedae1c0e8c17bb0f.tar.zst freebsd-ports-gnome-0a9b93dcfee55040aa5d125dedae1c0e8c17bb0f.zip |
Update to 0.3.4
Diffstat (limited to 'net/gtk-vnc/files')
-rw-r--r-- | net/gtk-vnc/files/patch-examples_gvncviewer.c | 10 | ||||
-rw-r--r-- | net/gtk-vnc/files/patch-src_gvnc.c | 20 | ||||
-rw-r--r-- | net/gtk-vnc/files/patch-src_gvnc.h | 22 |
3 files changed, 26 insertions, 26 deletions
diff --git a/net/gtk-vnc/files/patch-examples_gvncviewer.c b/net/gtk-vnc/files/patch-examples_gvncviewer.c deleted file mode 100644 index fe0579baffea..000000000000 --- a/net/gtk-vnc/files/patch-examples_gvncviewer.c +++ /dev/null @@ -1,10 +0,0 @@ ---- examples/gvncviewer.c.orig 2007-12-16 14:02:33.000000000 -0500 -+++ examples/gvncviewer.c 2007-12-16 14:02:44.000000000 -0500 -@@ -4,6 +4,7 @@ - #include <stdlib.h> - #include <string.h> - -+#include <sys/types.h> - #include <sys/socket.h> - #include <netinet/in.h> - #include <netinet/tcp.h> diff --git a/net/gtk-vnc/files/patch-src_gvnc.c b/net/gtk-vnc/files/patch-src_gvnc.c index ac8825af6f67..1ebee9d0a57b 100644 --- a/net/gtk-vnc/files/patch-src_gvnc.c +++ b/net/gtk-vnc/files/patch-src_gvnc.c @@ -1,5 +1,5 @@ ---- src/gvnc.c.orig 2007-12-16 13:59:46.000000000 -0500 -+++ src/gvnc.c 2007-12-16 14:01:54.000000000 -0500 +--- src/gvnc.c.orig 2008-02-22 09:33:46.000000000 -0500 ++++ src/gvnc.c 2008-03-24 11:38:08.000000000 -0400 @@ -16,7 +16,7 @@ #include <netdb.h> @@ -9,23 +9,11 @@ #include <unistd.h> #include <stdio.h> #include <errno.h> -@@ -26,7 +26,19 @@ +@@ -26,7 +26,6 @@ #include <string.h> #include <sys/types.h> #include <sys/stat.h> -+#ifdef __FreeBSD__ -+#include <sys/endian.h> -+ -+#define __BYTE_ORDER _BYTE_ORDER -+#define __LITTLE_ENDIAN _LITTLE_ENDIAN -+#define __BIG_ENDIAN _BIG_ENDIAN -+ -+#define bswap_16 bswap16 -+#define bswap_32 bswap32 -+#define bswap_64 bswap64 -+#else - #include <endian.h> -+#endif +-#include <endian.h> #include "coroutine.h" #include "d3des.h" diff --git a/net/gtk-vnc/files/patch-src_gvnc.h b/net/gtk-vnc/files/patch-src_gvnc.h new file mode 100644 index 000000000000..150b05330b63 --- /dev/null +++ b/net/gtk-vnc/files/patch-src_gvnc.h @@ -0,0 +1,22 @@ +--- src/gvnc.h.orig 2008-03-24 11:39:20.000000000 -0400 ++++ src/gvnc.h 2008-03-24 11:40:22.000000000 -0400 +@@ -3,6 +3,19 @@ + + #include <glib.h> + #include <stdint.h> ++#ifdef __FreeBSD__ ++#include <sys/endian.h> ++ ++#define __BYTE_ORDER _BYTE_ORDER ++#define __LITTLE_ENDIAN _LITTLE_ENDIAN ++#define __BIG_ENDIAN _BIG_ENDIAN ++ ++#define bswap_16 bswap16 ++#define bswap_32 bswap32 ++#define bswap_64 bswap64 ++#else ++#include <endian.h> ++#endif + + struct gvnc; + |