[Bug 280675] textproc/aspell: fix build with clang 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Aug 2024 18:21:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280675

            Bug ID: 280675
           Summary: textproc/aspell: fix build with clang 19
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: office@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(office@FreeBSD.org)
          Assignee: office@FreeBSD.org

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 = begin(); i != 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 = begin(); i != this->e; ++i, ++this->_size);
          |                                                           ^~~~~
          |                                                           size_
    modules/speller/default/vector_hash.hpp:182:17: note: 'size_' declared 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.

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