diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile index 8c065b74a2c9..d186d6d79f6b 100644 --- a/comms/scmxx/Makefile +++ b/comms/scmxx/Makefile @@ -6,8 +6,7 @@ # PORTNAME= scmxx -PORTVERSION= 0.6.4.1 -PORTREVISION= 1 +PORTVERSION= 0.7.0 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= scmxx @@ -25,7 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ USE_GMAKE= yes MAN1= scmxx.1 -#MANLANG= "" ru +MANLANG= "" ru .ifndef(NOPORTDOCS) post-install: diff --git a/comms/scmxx/distinfo b/comms/scmxx/distinfo index 1100fe72cbd5..0c22a775a663 100644 --- a/comms/scmxx/distinfo +++ b/comms/scmxx/distinfo @@ -1,2 +1,2 @@ -MD5 (scmxx-0.6.4.1.tar.bz2) = 01ef44ee263ef9caba3019ebdd5aff82 -SIZE (scmxx-0.6.4.1.tar.bz2) = 87660 +MD5 (scmxx-0.7.0.tar.bz2) = 87e8633fc408bfa5d7d41d7f4c06eed7 +SIZE (scmxx-0.7.0.tar.bz2) = 92331 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 ++#if __FreeBSD_version < 500000 ++#include ++#define UINT16_MAX USHRT_MAX ++#endif ++ + ucs4char_t* convert_to_internal (char* from_code, + char* input, + size_t insize)