Hello,

I'm doing an NMU of edict-fpw to fix #318531 and #373604; diff attached.

Thanks,

Matej
--- edict-fpw-1.2.1/debian/changelog
+++ edict-fpw-1.2.1/debian/changelog
@@ -1,3 +1,13 @@
+edict-fpw (1.2.1-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * fpwedict: Ignore English keys that don't fit in 255 bytes.
+    Closes: #318531.
+  * Move dependencies used in the clean target to Build-Depends.
+    Closes: #373604.
+
+ -- Matej Vela <[EMAIL PROTECTED]>  Wed, 16 Aug 2006 16:33:50 +0200
+
 edict-fpw (1.2.1-4) unstable; urgency=high
 
   * The "Brief Return From The Hell" release.
--- edict-fpw-1.2.1.orig/debian/patches/01_too_long_word.dpatch
+++ edict-fpw-1.2.1/debian/patches/01_too_long_word.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_too_long_word.dpatch by Matej Vela <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Ignore English keys that don't fit in 255 bytes (#318531).
+
[EMAIL PROTECTED]@
+diff -urNad edict-fpw-1.2.1~/fpwedict edict-fpw-1.2.1/fpwedict
+--- edict-fpw-1.2.1~/fpwedict
++++ edict-fpw-1.2.1/fpwedict
+@@ -250,7 +250,9 @@
+     #    }
+     $item = $key;
+     $key = $key_kana;
+-    register();
++    if (length($key) < 128) {
++      register();
++    }
+   }
+ }
+ #
--- edict-fpw-1.2.1.orig/debian/patches/00list
+++ edict-fpw-1.2.1/debian/patches/00list
@@ -0,0 +1 @@
+01_too_long_word
--- edict-fpw-1.2.1/debian/control
+++ edict-fpw-1.2.1/debian/control
@@ -2,7 +2,8 @@
 Section: text
 Priority: optional
 Maintainer: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>= 4.0.0), dpatch, edict (>= 2004.08.04-1), 
freepwing, epwutil, libjcode-pm-perl
+Build-Depends: debhelper (>= 4.0.0), dpatch, freepwing
+Build-Depends-Indep: edict (>= 2004.08.04-1), epwutil, libjcode-pm-perl
 Standards-Version: 3.6.1
 
 Package: edict-fpw

Reply via email to