1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Unbreak on amd64

Set maintainership back to ports

PR:		125683
Submitted by:	Kazunori_Fujiwara <fujiwara@wide.ad.jp>
Approved by:	maintainer
This commit is contained in:
Tilman Keskinoz 2008-07-27 18:44:06 +00:00
parent 35e4e75f1f
commit 223d9addfc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217686
3 changed files with 13 additions and 8 deletions

View File

@ -21,7 +21,7 @@ MASTER_SITES= \
EXTRACT_SUFX=
DISTFILES= ${DICTFILES} ${SRCFILES} ${DOCFILES}
MAINTAINER= jhanna@shaw.ca
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese-English dictionaries with access and maintenance utilities
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
@ -60,10 +60,6 @@ NO_WRKSUBDIR= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= Does not build
.endif
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}

View File

@ -16,7 +16,7 @@
+#elif defined(__POSIX__)
+ tcgetattr(0, &orig); tcgetattr(0, &new);
+ new.c_lflag &= ~ICANON; new.c_lflag &= ~ISIG; new.c_lflag &= ~ECHO;
+ new.c_lflag &= ~IXON;
+ new.c_lflag &= ~IXON; new.c_cc[VMIN] = 1;
+ new.c_cc[4] = 1; new.c_cc[5] = 0; tcsetattr(0, TCSANOW, &new);
#else
ioctl(0, TCGETA, &orig); ioctl(0, TCGETA, &new);

View File

@ -1,5 +1,5 @@
--- xjdxgen.c.orig 1998-09-10 20:04:21.000000000 -0700
+++ xjdxgen.c 2008-03-06 11:40:41.000000000 -0800
--- xjdxgen.c.orig 1998-09-11 05:04:21.000000000 +0200
+++ xjdxgen.c 2008-07-27 20:39:29.000000000 +0200
@@ -23,7 +23,7 @@
#include <sys/stat.h>
@ -9,3 +9,12 @@
#include <ctype.h>
#include <string.h>
#include "xjdic.h"
@@ -154,7 +154,7 @@
db[diclen] = 10;
db[0] = 10;
printf("Dictionary size: %ld bytes.\n",dbyte);
- indlen = (diclen * 3)/4;
+ indlen = (diclen * 3*(sizeof(long)/4))/4;
jindex = (unsigned long *)malloc(indlen);
if(jindex == NULL)
{