On 2024/02/14 01:20, Alexandre Ratchov wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   ratc...@cvs.openbsd.org 2024/02/14 01:20:26
> 
> Modified files:
>       devel/geany    : Makefile distinfo 
>       devel/geany/patches: patch-scintilla_src_RunStyles_cxx 
>       devel/geany/pkg: PLIST 
> 
> Log message:
> devel/geany: Update to version 2.0.
> 
> ok and help from tb, kn, and Victor Kukshiev (maintainer)
> 

Broken on 32-bit:

src/CellBuffer.cxx:216:39: error: cannot initialize a parameter of type 'const
int *' with an lvalue of type 'const Sci::Position *' (aka 'const long *')
                        starts.InsertPartitions(lineAsPos, positions, lines);
                                                           ^~~~~~~~~
src/CellBuffer.cxx:180:2: note: in instantiation of member function
'LineVector<int>::InsertLines' requested here
        LineVector() : starts(256), perLine(nullptr),
activeIndices(LineCharacterIndexType::None) {
        ^
/usr/include/c++/v1/__memory/unique_ptr.h:686:30: note: in instantiation of
member function 'LineVector<int>::LineVector' requested here
  return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
                             ^
src/CellBuffer.cxx:620:14: note: in instantiation of function template
specialization 'std::make_unique<LineVector<int>>' requested here
                plv = std::make_unique<LineVector<int>>();
                           ^
./src/Partitioning.h:102:46: note: passing argument to parameter 'positions'
here
        void InsertPartitions(T partition, const T *positions, size_t length)
{
                                                    ^
1 error generated.


Looks like it might need patch-src_CellBuffer_cxx from editors/scintilla

Reply via email to