<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>48865</bug_id>
          
          <creation_ts>2004-04-24 03:15 0000</creation_ts>
          <short_desc>patch for aspell-0.50.3.ebuild</short_desc>
          <delta_ts>2004-07-30 14:09:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>powerman-asdf@yandex.ru</reporter>
          <assigned_to>app-dicts@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>powerman-asdf@yandex.ru</who>
            <bug_when>2004-04-24 03:15:01 0000</bug_when>
            <thetext>aspell incorrectly filter out text in --mode=email : it skip lines with
&quot;cyrillic small letter o&quot; found in first 10 line characters.

This happens because aspell incorrectly match this &quot;small o&quot; with &quot;&gt;&quot; symbol,
which is correct &quot;email quotation mark&quot; (in --mode=email aspell skip lines with
&quot;&gt;&quot; symbol within first 10 characters of line).

As far as I understand, these two symbols match because aspell incorrectly
work with Unicode (it cast &lt;int&gt; to &lt;unsigned char&gt;), look at symbol codes:
003E            GREATER-THAN SIGN
043E            CYRILLIC SMALL LETTER O

I&apos;ve created patch. It&apos;s worked, but I&apos;m not sure is it doing right thing
because I don&apos;t know C++ at all. :^)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>powerman-asdf@yandex.ru</who>
            <bug_when>2004-04-24 03:16:47 0000</bug_when>
            <thetext>Created an attachment (id=29946)
patch... :)

Add to .ebuild something like this:

src_unpack() {
    unpack ${A}
    cd ${S}
    epatch ${FILESDIR}/${P}-quotechar.patch
}
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>arj@gentoo.org</who>
            <bug_when>2004-07-15 12:28:35 0000</bug_when>
            <thetext>Does this still apply to aspell 0.50.5-r2?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>powerman-asdf@yandex.ru</who>
            <bug_when>2004-07-23 06:26:34 0000</bug_when>
            <thetext>Yeah. :-( This bug exists in 0.50.5-r2 too. Looks like my patch can be used for
0.50.5-r2 without changes and solve this issue again.


I&apos;ve reported this bug to aspell developers long time ago, but looks like
they don&apos;t really do something with this issue. You can track my report here:
https://sourceforge.net/tracker/?func=detail&amp;atid=300245&amp;aid=941238&amp;group_id=245</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>arj@gentoo.org</who>
            <bug_when>2004-07-30 14:09:14 0000</bug_when>
            <thetext>Very good detective work. I&apos;ve checked your patch and the source code and it does indeed look correct. Although it looks like from the source that they didn&apos;t plan for UTF-8 support at all :-)

Anyway the patch has been included in aspell-0.50</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>29946</attachid>
            <date>2004-04-24 03:16 0000</date>
            <desc>patch... :)</desc>
            <filename>aspell-0.50.3-quotechar.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdU5yIC4vbW9kdWxlcy9maWx0ZXIvZW1haWwuY3BwIC4vbW9kdWxlcy9maWx0ZXIvZW1h
aWwuY3BwCi0tLSAuL21vZHVsZXMvZmlsdGVyL2VtYWlsLmNwcAkyMDA0LTA0LTI0IDEyOjM5OjU2
LjM3MTIxNjgwMCArMDMwMAorKysgLi9tb2R1bGVzL2ZpbHRlci9lbWFpbC5jcHAJMjAwNC0wNC0y
NCAxMjo0MDowNS41MjE4MjU2OTYgKzAzMDAKQEAgLTMzLDcgKzMzLDggQEAKICAgICAgICAgbWVt
c2V0KGRhdGEsIDAsIHNpemVvZihib29sKSoyNTYpOwogCXJldHVybiBub19lcnI7CiAgICAgICB9
Ci0gICAgICBib29sIGhhdmUoY2hhciBjKSB7CisgICAgICBib29sIGhhdmUoRmlsdGVyQ2hhcjo6
Q2hyIGMpIHsKKwlpZiAoYyA+IDI1NSkgcmV0dXJuIGZhbHNlOwogICAgICAgICByZXR1cm4gZGF0
YVtzdGF0aWNfY2FzdDx1bnNpZ25lZCBjaGFyPihjKV07CiAgICAgICB9CiAgICAgICBRdW90ZUNo
YXJzKCkge2NsZWFyKCk7fQo=
</data>        

          </attachment>
    </bug>

</bugzilla>