tags 379152 patch thanks Attached is a patch which makes this package build in both 64 bit and 32 bit.
thanks stew
diff -ruN stardict-2.4.7.orig/debian/patches/00list stardict-2.4.7/debian/patches/00list --- stardict-2.4.7.orig/debian/patches/00list 2006-08-02 07:44:33.000000000 +0000 +++ stardict-2.4.7/debian/patches/00list 2006-08-02 07:43:52.000000000 +0000 @@ -1,3 +1,4 @@ intltool.diff pkg-config.diff jm2stardict.diff +fix64bit.diff \ No newline at end of file diff -ruN stardict-2.4.7.orig/debian/patches/fix64bit.diff stardict-2.4.7/debian/patches/fix64bit.diff --- stardict-2.4.7.orig/debian/patches/fix64bit.diff 1970-01-01 00:00:00.000000000 +0000 +++ stardict-2.4.7/debian/patches/fix64bit.diff 2006-08-02 07:43:52.000000000 +0000 @@ -0,0 +1,12 @@ +diff -ru stardict-2.4.7.orig/src/lib.cpp stardict-2.4.7/src/lib.cpp +--- stardict-2.4.7.orig/src/lib.cpp 2006-08-02 06:51:40.000000000 +0000 ++++ stardict-2.4.7/src/lib.cpp 2006-08-02 06:51:58.000000000 +0000 +@@ -505,7 +505,7 @@ + inline const gchar *offset_index::read_first_on_page_key(glong page_idx) + { + fseek(idxfile, wordoffset[page_idx], SEEK_SET); +- guint32 page_size=wordoffset[page_idx+1]-wordoffset[page_idx]; ++ size_t page_size=wordoffset[page_idx+1]-wordoffset[page_idx]; + fread(wordentry_buf, std::min(sizeof(wordentry_buf), page_size), 1, idxfile); //TODO: check returned values, deal with word entry that strlen>255. + return wordentry_buf; + }