On Sat, 29 Aug 2026 14:37:41 +0200, Klemens Nanni <[email protected]> wrote: > > > Index: Telegram/SourceFiles/platform/linux/specific_linux.cpp > > --- Telegram/SourceFiles/platform/linux/specific_linux.cpp.orig > > +++ Telegram/SourceFiles/platform/linux/specific_linux.cpp > > Looks as if you forgot to remove hunks from this patch, > but it does not contain anything related to scrolling, > so that's fine. >
I had run make update-patches, and added comment to each affected patch. This patch had no new hunk when I introduced scroll fix, but was modified, See: https://github.com/openbsd/ports/commit/b23d68ac4f7127b48ab96d28948cfd142c2a255c > > Index: patches/patch-Telegram_SourceFiles_webauthn_webauthn_common_cpp > > =================================================================== > > RCS file: patches/patch-Telegram_SourceFiles_webauthn_webauthn_common_cpp > > diff -N patches/patch-Telegram_SourceFiles_webauthn_webauthn_common_cpp > > --- /dev/null 1 Jan 1970 00:00:00 -0000 > > +++ patches/patch-Telegram_SourceFiles_webauthn_webauthn_common_cpp 29 Aug > > 2026 09:08:34 -0000 > > @@ -0,0 +1,18 @@ > > +Replace `raw_ptr` and `raw_len` with `_ptr` and `_len` to ensure > > +compatibility with lib_fido2. Otherwise, the 64gram will fail to > > +compile. > > This is not 64gram, though. > > Is upstream aware of this? > The issue is our very old fido2 library. We just need to update it. But yes, in my scroll PR I had shared that issue with upsteram. > > +--- Telegram/cmake/lib_fido2.cmake.orig > > ++++ Telegram/cmake/lib_fido2.cmake > > +@@ -9,6 +9,13 @@ > > + # On Windows it serves only systems without webauthn.dll (Win7/8/8.1, > > + # Win10 < 1903); winhello.c is left out. > > + > > ++if (CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") > > ++ add_library(lib_fido2 INTERFACE) > > ++ add_library(tdesktop::lib_fido2 ALIAS lib_fido2) > > ++ target_link_libraries(lib_fido2 INTERFACE fido2) > > ++ return() > > ++endif() > > That's an easy candidate for an upstream PR. It can use PkgConfig and I think we should add our libfido2 from base to be detectable by pkg-config. -- wbr, Kirill
