- Update to 0.7.0

PR:		ports/65819
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-04-28 16:39:31 +00:00
parent 46247b5ffa
commit 6696b4ced4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107821
3 changed files with 19 additions and 5 deletions

View file

@ -6,8 +6,7 @@
# #
PORTNAME= scmxx PORTNAME= scmxx
PORTVERSION= 0.6.4.1 PORTVERSION= 0.7.0
PORTREVISION= 1
CATEGORIES= comms CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= scmxx MASTER_SITE_SUBDIR= scmxx
@ -25,7 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
USE_GMAKE= yes USE_GMAKE= yes
MAN1= scmxx.1 MAN1= scmxx.1
#MANLANG= "" ru MANLANG= "" ru
.ifndef(NOPORTDOCS) .ifndef(NOPORTDOCS)
post-install: post-install:

View file

@ -1,2 +1,2 @@
MD5 (scmxx-0.6.4.1.tar.bz2) = 01ef44ee263ef9caba3019ebdd5aff82 MD5 (scmxx-0.7.0.tar.bz2) = 87e8633fc408bfa5d7d41d7f4c06eed7
SIZE (scmxx-0.6.4.1.tar.bz2) = 87660 SIZE (scmxx-0.7.0.tar.bz2) = 92331

View file

@ -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)