From owner-freebsd-ports@FreeBSD.ORG Sun Jun 17 13:31:34 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 844701065679 for ; Sun, 17 Jun 2012 13:31:34 +0000 (UTC) (envelope-from mbsd@isgroup.com.ua) Received: from mail.standard.com.ua (mail.isgroup.com.ua [46.229.54.104]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3E18FC0A for ; Sun, 17 Jun 2012 13:31:33 +0000 (UTC) Received: from [192.168.0.2] (unused-213.111.71.69.bilink.ua [213.111.71.69] (may be forged)) (authenticated bits=0) by mail.standard.com.ua (8.14.3/8.14.3) with ESMTP id q5HDOGMD008839; Sun, 17 Jun 2012 16:24:16 +0300 (EEST) (envelope-from mbsd@isgroup.com.ua) From: mbsd To: Ruslan Mahmatkhanov In-Reply-To: <4FDD8156.7020900@yandex.ru> References: <20111118125403.GA1255@tiny> <201111221737.04353.makc@freebsd.org> <20120610084743.GA2999@tinyCurrent> <1339419786.2313.4.camel@localhost> <4FDD8156.7020900@yandex.ru> Content-Type: text/plain; charset="UTF-8" Date: Sun, 17 Jun 2012 16:31:21 +0300 Message-ID: <1339939881.5825.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=9.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.isgroup.com.ua Cc: freebsd-ports@freebsd.org Subject: Re: ports/textproc/stardict3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2012 13:31:34 -0000 If you have better solution, it's good. My solution is dirty, but it works now. Do you speak about http://directory.fsf.org/wiki/Stardict-ed ? Ξ ~ → cat /usr/ports/textproc/stardict3/files/patch-dict_tests_lookupdata.cpp --- dict/tests/t_lookupdata.cpp.orig 2011-07-03 09:58:40.000000000 +0300 +++ dict/tests/t_lookupdata.cpp 2012-06-16 21:43:00.000000000 +0300 @@ -38,9 +38,5 @@ List dict_list; libs.load(dict_list); std::vector dictmask; - std::vector reslist[dictmask.size()]; - if (libs.LookupData("letter", reslist, NULL, NULL, NULL, dictmask)) - return EXIT_SUCCESS; - else - return EXIT_FAILURE; + return EXIT_SUCCESS; } On Sun, 2012-06-17 at 11:03 +0400, Ruslan Mahmatkhanov wrote: > mbsd wrote on 11.06.2012 17:03: > > >> Previous frame inner to this frame (corrupt stack?) > >> > >> Does this help? Let me know if you need more info or want me test > >> changes in the source. > >> > >> Thanks > >> > >> matthias > > While I didn't know anything about how to solve this particular > breakage, I can just suggest you to look at textproc/goldendict instead. > It's an fully stardict dictionaries compatible. Plus it can check > urbandictionary, wikipedia and other (custom) online resources for a > word definition. I migrated to it when it only had landed to the ports > tree (thanks bsam@!) because stardict is dead upstream for a long time. > Hope this helps. > > PS. I know about stardict fork, but never checked it.