Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2012 16:31:21 +0300
From:      mbsd <mbsd@isgroup.com.ua>
To:        Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports/textproc/stardict3
Message-ID:  <1339939881.5825.14.camel@localhost>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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<InstantDictIndex> dictmask;
-	std::vector<gchar *> 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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1339939881.5825.14.camel>