Fails on i386:

c++  -DGTK -DNDEBUG -I ./../include -I ./../src --std=c++17 -fPIC -Wpedantic 
-Wall -O3 -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 
-I/usr/local/include/at-spi-2.0 -I/usr/X11R6/include 
-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include 
-I/usr/local/include -I/usr/local/include/gio-unix-2.0 
-I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0 
-I/usr/local/include/harfbuzz -I/usr/local/include/fribidi 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1 
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16 -pthread 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe   -c 
./../src/CellBuffer.cxx

./../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);

                                                          ^~~~~~~~~

On 2023/04/25 23:50, Landry Breuil wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   lan...@cvs.openbsd.org  2023/04/25 23:50:34
> 
> Modified files:
>       editors/scintilla: Makefile distinfo 
>       editors/scintilla/patches: patch-gtk_makefile 
>       editors/scintilla/pkg: PLIST 
> Removed files:
>       editors/scintilla/patches: patch-gtk_ScintillaGTKAccessible_cxx 
> 
> Log message:
> editors/scintilla: update to 5.3.4.
> 
> in v5 scintilla lexers were moved to their own project
> (https://www.scintilla.org/Lexilla.html) but as nothing in the ports
> tree links against them and they're shipped in the scite distfile
> they'll be built statically there.
> 
> vastly simplify gtk/makefile patch while here, and only install the
> shared library.
> 
> ok lraab@ semarie@
> 

Reply via email to