aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-04-08 10:45:20 +0800
committerijliao <ijliao@FreeBSD.org>2003-04-08 10:45:20 +0800
commitbf6388fe09046231198367b72b238b4a5c6d5fb4 (patch)
tree3e10920dcaadfd011b8f023574de538a2c5a3402 /misc
parent9acb0782363109492f2fec7598024908c50cb6cf (diff)
downloadfreebsd-ports-gnome-bf6388fe09046231198367b72b238b4a5c6d5fb4.tar.gz
freebsd-ports-gnome-bf6388fe09046231198367b72b238b4a5c6d5fb4.tar.zst
freebsd-ports-gnome-bf6388fe09046231198367b72b238b4a5c6d5fb4.zip
add FreeBSD int types
hope this fix build on alpha Noted by: kris
Diffstat (limited to 'misc')
-rw-r--r--misc/chmlib/files/patch-chm_lib.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/chmlib/files/patch-chm_lib.c b/misc/chmlib/files/patch-chm_lib.c
new file mode 100644
index 000000000000..43b1d330c70a
--- /dev/null
+++ b/misc/chmlib/files/patch-chm_lib.c
@@ -0,0 +1,20 @@
+--- chm_lib.c.orig Tue Apr 8 10:33:30 2003
++++ chm_lib.c Tue Apr 8 10:40:56 2003
+@@ -139,6 +139,17 @@
+ typedef __int64 Int64;
+ typedef unsigned __int64 UInt64;
+
++/* FreeBSD */
++#elif __FreeBSD__
++#include <inttypes.h>
++typedef unsigned char UChar;
++typedef int16_t Int16;
++typedef uint16_t UInt16;
++typedef int32_t Int32;
++typedef uint32_t UInt32;
++typedef int64_t Int64;
++typedef uint64_t UInt64;
++
+ /* I386, 32-bit, non-Windows */
+ /* Sparc */
+ /* MIPS */