Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2024 19:13:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 280675] textproc/aspell: fix build with clang 19
Message-ID:  <bug-280675-25061-93mywaKbfO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280675-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280675-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280675

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D24ae74c0e2045c689b20b4e336e9ca9=
912fdb270

commit 24ae74c0e2045c689b20b4e336e9ca9912fdb270
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-08-07 18:19:32 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-08-07 19:07:16 +0000

    textproc/aspell: fix build with clang 19

    With clang 19 and gcc 15, textproc/aspell fails to compile, with errors
    similar to:

        In file included from modules/speller/default/readonly_ws.cpp:51:
        modules/speller/default/vector_hash-t.hpp:186:43: error: no member
named 'e' in 'VectorHashTable<Parms>'
          186 |     for (iterator i =3D begin(); i !=3D this->e; ++i,
++this->_size);
              |                                     ~~~~  ^
        modules/speller/default/vector_hash-t.hpp:186:59: error: no member
named '_size' in 'VectorHashTable<Parms>'; did you mean 'size_'?
          186 |     for (iterator i =3D begin(); i !=3D this->e; ++i,
++this->_size);
              |                                                           ^=
~~~~
              |                                                           s=
ize_
        modules/speller/default/vector_hash.hpp:182:17: note: 'size_' decla=
red
here
          182 |     size_type   size_;
              |                 ^

    Upstream commit <https://github.com/GNUAspell/aspell/commit/ee6cbb1>;
    fixes this this, so add it as a PATCHFILES entry in the Makefile, until
    the next version of aspell is released.

    PR:             280675
    Approved by:    fluffy (maintainer)
    MFH:            2024Q3

 textproc/aspell/Makefile | 3 +++
 textproc/aspell/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280675-25061-93mywaKbfO>