ports/textproc/stardict3

mbsd mbsd at isgroup.com.ua
Sun Jun 17 13:31:34 UTC 2012


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.




More information about the freebsd-ports mailing list