diff options
author | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-10-21 13:28:21 +0800 |
---|---|---|
committer | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-10-21 13:28:21 +0800 |
commit | d39bedd3cbcf8547c76e2d15a3bbc837a2f09e4c (patch) | |
tree | 666f51a3dae22790bfcfa9d832f781d3aa852713 /net/gtk-vnc/files/patch-src_gvnc.h | |
parent | 7717fd05de7c15f6a8d28f63f825de6770f63483 (diff) | |
download | marcuscom-ports-d39bedd3cbcf8547c76e2d15a3bbc837a2f09e4c.tar.gz marcuscom-ports-d39bedd3cbcf8547c76e2d15a3bbc837a2f09e4c.tar.zst marcuscom-ports-d39bedd3cbcf8547c76e2d15a3bbc837a2f09e4c.zip |
Update to 0.3.10.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13175 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gtk-vnc/files/patch-src_gvnc.h')
-rw-r--r-- | net/gtk-vnc/files/patch-src_gvnc.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 000000000..150b05330 --- /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; + |