Date: Thu, 26 Sep 2013 18:34:37 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328404 - in head/textproc/stardict2: . files Message-ID: <201309261834.r8QIYb6e095667@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Thu Sep 26 18:34:36 2013 New Revision: 328404 URL: http://svnweb.freebsd.org/changeset/ports/328404 Log: - Move to new master site at Google Code (distfile changed and manually validated). - Fix a few compile issues. Added: head/textproc/stardict2/files/patch-src::inifile.hpp (contents, props changed) head/textproc/stardict2/files/patch-src::lib::common.hpp (contents, props changed) head/textproc/stardict2/files/patch-src::stardict.cpp (contents, props changed) head/textproc/stardict2/files/patch-tests::t_lookupdata.cpp (contents, props changed) Modified: head/textproc/stardict2/Makefile head/textproc/stardict2/distinfo Modified: head/textproc/stardict2/Makefile ============================================================================== --- head/textproc/stardict2/Makefile Thu Sep 26 18:27:02 2013 (r328403) +++ head/textproc/stardict2/Makefile Thu Sep 26 18:34:36 2013 (r328404) @@ -3,9 +3,10 @@ PORTNAME= stardict PORTVERSION= 2.4.8 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= textproc -MASTER_SITES= SF +MASTER_SITES= GOOGLE_CODE +PROJECTHOST= stardict-3 DIST_SUBDIR= stardict MAINTAINER= delphij@FreeBSD.org Modified: head/textproc/stardict2/distinfo ============================================================================== --- head/textproc/stardict2/distinfo Thu Sep 26 18:27:02 2013 (r328403) +++ head/textproc/stardict2/distinfo Thu Sep 26 18:34:36 2013 (r328404) @@ -1,2 +1,2 @@ -SHA256 (stardict/stardict-2.4.8.tar.bz2) = 160dd1dfe46ae0b9d44f9059a40eee71ff389be498aa4478355ff4640969680f -SIZE (stardict/stardict-2.4.8.tar.bz2) = 1235020 +SHA256 (stardict/stardict-2.4.8.tar.bz2) = 3aadc8a1a86ba168db2808f9b5c73c2aa410427aa9a62ae89b2f69c679b11bb4 +SIZE (stardict/stardict-2.4.8.tar.bz2) = 1234893 Added: head/textproc/stardict2/files/patch-src::inifile.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/stardict2/files/patch-src::inifile.hpp Thu Sep 26 18:34:36 2013 (r328404) @@ -0,0 +1,10 @@ +--- src/inifile.hpp.orig 2005-12-24 21:38:54.000000000 -0800 ++++ src/inifile.hpp 2013-09-26 11:29:14.007146339 -0700 +@@ -1,6 +1,7 @@ + #ifndef _INIFILE_HPP_ + #define _INIFILE_HPP_ + ++#include <cstdlib> + #include <map> + #include <string> + Added: head/textproc/stardict2/files/patch-src::lib::common.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/stardict2/files/patch-src::lib::common.hpp Thu Sep 26 18:34:36 2013 (r328404) @@ -0,0 +1,10 @@ +--- src/lib/common.hpp.orig 2006-06-29 20:54:59.000000000 -0700 ++++ src/lib/common.hpp 2013-09-26 11:27:56.369120859 -0700 +@@ -2,6 +2,7 @@ + #define _COMMON_HPP_ + + #include <glib.h> ++#include <cstdlib> + #include <list> + #include <string> + Added: head/textproc/stardict2/files/patch-src::stardict.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/stardict2/files/patch-src::stardict.cpp Thu Sep 26 18:34:36 2013 (r328404) @@ -0,0 +1,12 @@ +--- ./src/stardict.cpp.orig 2006-07-02 23:19:31.000000000 -0700 ++++ ./src/stardict.cpp 2013-09-05 17:40:53.829831298 -0700 +@@ -873,7 +873,8 @@ + gtk_widget_show_all(search_window); + + //clock_t t=clock(); +- std::vector<gchar *> reslist[oLibs.ndicts()]; ++ std::vector<gchar *> *reslist; ++ reslist = new std::vector<gchar *>[oLibs.ndicts()]; + if (oLibs.LookupData(sWord, reslist, updateSearchDialog, &Dialog, &cancel)) { + oMidWin.oIndexWin.oListWin.list_word_type = LIST_WIN_DATA_LIST; + for (int i=0; i<oLibs.ndicts(); i++) { Added: head/textproc/stardict2/files/patch-tests::t_lookupdata.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/stardict2/files/patch-tests::t_lookupdata.cpp Thu Sep 26 18:34:36 2013 (r328404) @@ -0,0 +1,12 @@ +--- tests/t_lookupdata.cpp.orig 2006-06-19 00:16:21.000000000 -0700 ++++ tests/t_lookupdata.cpp 2013-09-26 11:31:36.077140174 -0700 +@@ -18,7 +18,8 @@ + + Libs libs(NULL, false, false, 0); + libs.load(dirs, List(), List()); +- std::vector<gchar *> reslist[libs.ndicts()]; ++ std::vector<gchar *> *reslist; ++ reslist = new std::vector<gchar *>[libs.ndicts()]; + if (libs.LookupData("letter", reslist, NULL, NULL, NULL)) + return EXIT_SUCCESS; + else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309261834.r8QIYb6e095667>