fix build of scite on i386 ld: error: /usr/local/lib/libscintilla.so.12.0: undefined reference to Scintilla::Internal::RunStyles::DeleteAll() [--no-allow-shlib-undefined] ld: error: /usr/local/lib/libscintilla.so.12.0: undefined reference to Scintilla::Internal::RunStyles::InsertSpace(long, long) [--no-allow-shlib-undefined] cf https://groups.google.com/g/scintilla-interest/c/xPXquJUIXo8/m/BLXBpTTgBwAJ & https://sourceforge.net/p/scintilla/bugs/2315/ Index: src/RunStyles.cxx --- src/RunStyles.cxx.orig +++ src/RunStyles.cxx @@ -307,7 +307,7 @@ void RunStyles::Check() const { template class Scintilla::Internal::RunStyles; template class Scintilla::Internal::RunStyles; -#if (PTRDIFF_MAX != INT_MAX) || defined(__HAIKU__) +#if (PTRDIFF_MAX != INT_MAX) || defined(__HAIKU__) || defined(__OpenBSD__) template class Scintilla::Internal::RunStyles; template class Scintilla::Internal::RunStyles; #endif