diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-28 16:39:31 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-28 16:39:31 +0000 |
commit | 6696b4ced4e17e4c01b18c6f68e3e98c511d2e90 (patch) | |
tree | 273bdde98452787a9f820d2b11596ee80979a0a7 /comms/scmxx/files | |
parent | - Respect CC (diff) |
- Update to 0.7.0
PR: ports/65819
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
Notes
Notes:
svn path=/head/; revision=107821
Diffstat (limited to 'comms/scmxx/files')
-rw-r--r-- | comms/scmxx/files/patch-src-unicode.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/comms/scmxx/files/patch-src-unicode.c b/comms/scmxx/files/patch-src-unicode.c new file mode 100644 index 000000000000..b87d48f9e0d5 --- /dev/null +++ b/comms/scmxx/files/patch-src-unicode.c @@ -0,0 +1,15 @@ +--- src/unicode.c.orig Wed Feb 25 16:44:19 2004 ++++ src/unicode.c Wed Apr 21 00:00:39 2004 +@@ -36,6 +36,12 @@ + # define INTERNAL_CHARSET "UCS-4LE" + #endif + ++#include <sys/param.h> ++#if __FreeBSD_version < 500000 ++#include <limits.h> ++#define UINT16_MAX USHRT_MAX ++#endif ++ + ucs4char_t* convert_to_internal (char* from_code, + char* input, + size_t insize) |