[Bug 245004] [PATCH] net-im/telegram-desktop: Fix build on head with clang 10

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 23 08:58:04 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245004

            Bug ID: 245004
           Summary: [PATCH] net-im/telegram-desktop: Fix build on head
                    with clang 10
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: madpilot at FreeBSD.org
                CC: henry.hu.sh at gmail.com
             Flags: maintainer-feedback?(henry.hu.sh at gmail.com)
                CC: henry.hu.sh at gmail.com

Created attachment 212639
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212639&action=edit
patch

telegram-desktop fails to build on head after the update to telegram 10.

I created a patch to make it build.

The patch to the bundled rapidjson in the rlottie third party library comes
from upstream:

https://github.com/Tencent/rapidjson/commit/2661a17c7eaede8c881e7455f5a66fd593ed8633#diff-4a56fc9353bac10cf2f51e22e38e3b2a

The patch to the lib_base/base/thread_safe_wrap.h file I created. AFAIK it
should be a NOP for previous clang versions which silently apply the same cast,
while clang 10 is stricter and casts a warning.

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


More information about the freebsd-ports-bugs mailing list