From owner-svn-ports-head@freebsd.org Mon Jan 22 11:49:16 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D1F2EBC488; Mon, 22 Jan 2018 11:49:16 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59269784FA; Mon, 22 Jan 2018 11:49:16 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B308D19BE3; Mon, 22 Jan 2018 11:49:15 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0MBnFEN008546; Mon, 22 Jan 2018 11:49:15 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0MBnFQ1008543; Mon, 22 Jan 2018 11:49:15 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201801221149.w0MBnFQ1008543@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 22 Jan 2018 11:49:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459643 - in head/japanese/edict: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/japanese/edict: . files X-SVN-Commit-Revision: 459643 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 11:49:16 -0000 Author: danfe Date: Mon Jan 22 11:49:15 2018 New Revision: 459643 URL: https://svnweb.freebsd.org/changeset/ports/459643 Log: Exit from main() function properly on success to fix weird installation problem observed on sparc64. Modified: head/japanese/edict/Makefile head/japanese/edict/files/patch-exjdxgen.c head/japanese/edict/files/patch-xjdxgen.c Modified: head/japanese/edict/Makefile ============================================================================== --- head/japanese/edict/Makefile Mon Jan 22 09:45:32 2018 (r459642) +++ head/japanese/edict/Makefile Mon Jan 22 11:49:15 2018 (r459643) @@ -47,8 +47,6 @@ DOCSDIR= ${PREFIX}/share/doc/xjdic NO_WRKSUBDIR= yes -BROKEN_sparc64= Fails on sparc64 during installation with error 2 - OPTIONS_DEFINE= DOCS post-patch: Modified: head/japanese/edict/files/patch-exjdxgen.c ============================================================================== --- head/japanese/edict/files/patch-exjdxgen.c Mon Jan 22 09:45:32 2018 (r459642) +++ head/japanese/edict/files/patch-exjdxgen.c Mon Jan 22 11:49:15 2018 (r459643) @@ -1,5 +1,5 @@ ---- exjdxgen.c.orig 1998-05-24 08:43:37.000000000 -0700 -+++ exjdxgen.c 2008-03-06 11:39:23.000000000 -0800 +--- exjdxgen.c.orig 1998-05-24 15:43:37 UTC ++++ exjdxgen.c @@ -22,7 +22,7 @@ #include @@ -9,3 +9,11 @@ #include #include #include "xjdic.h" +@@ -229,6 +229,7 @@ unsigned char **argv; + jindex[0] = diclen+jiver; + fwrite(jindex,sizeof(long),indptr+2,fp); + fclose(fp); ++ return (0); + } + /*======function to sort jindex table====================*/ + Modified: head/japanese/edict/files/patch-xjdxgen.c ============================================================================== --- head/japanese/edict/files/patch-xjdxgen.c Mon Jan 22 09:45:32 2018 (r459642) +++ head/japanese/edict/files/patch-xjdxgen.c Mon Jan 22 11:49:15 2018 (r459643) @@ -1,5 +1,5 @@ ---- xjdxgen.c.orig 1998-09-11 05:04:21.000000000 +0200 -+++ xjdxgen.c 2008-07-27 20:39:29.000000000 +0200 +--- xjdxgen.c.orig 1998-09-11 03:04:21 UTC ++++ xjdxgen.c @@ -23,7 +23,7 @@ #include @@ -9,7 +9,7 @@ #include #include #include "xjdic.h" -@@ -154,7 +154,7 @@ +@@ -154,7 +154,7 @@ unsigned char **argv; db[diclen] = 10; db[0] = 10; printf("Dictionary size: %ld bytes.\n",dbyte); @@ -18,3 +18,11 @@ jindex = (unsigned long *)malloc(indlen); if(jindex == NULL) { +@@ -273,6 +273,7 @@ unsigned char **argv; + jindex[0] = diclen+jiver; + fwrite(jindex,sizeof(long),indptr+1,fp); + fclose(fp); ++ return (0); + } + /*======function to sort jindex table====================*/ + void jqsort(long lhs, long rhs)