Fix build of ZNC with LibreSSL #357

Closed
opened 2026-10-05 04:15:11 +02:00 by adam · 6 comments
Owner

Here is a patch from the OpenBSD ports tree to fix the build of ZNC against LibreSSL.

http://openbsd.comstyle.com/cgi/cvsweb/ports/net/znc/patches/patch-src_Csocket_cpp?rev=1.1&content-type=text/x-cvsweb-markup

Here is a patch from the OpenBSD ports tree to fix the build of ZNC against LibreSSL. http://openbsd.comstyle.com/cgi/cvsweb/ports/net/znc/patches/patch-src_Csocket_cpp?rev=1.1&content-type=text/x-cvsweb-markup <!-- github-sync-id:38025667 -->
adam closed this issue 2026-10-05 04:15:11 +02:00
Author
Owner

Changes to Csocket need to go at https://github.com/jimloco/Csocket

@jimloco

Changes to Csocket need to go at https://github.com/jimloco/Csocket @jimloco <!-- github-comment-id:49539265 -->
Author
Owner

Created https://github.com/jimloco/Csocket/pull/49 to fix build with LibreSSL.

Saw that the tarball does not include Csocket.cpp, imagine that this is included with some build script?

Created https://github.com/jimloco/Csocket/pull/49 to fix build with LibreSSL. Saw that the tarball does not include Csocket.cpp, imagine that this is included with some build script? <!-- github-comment-id:77690260 -->
Author
Owner

Both release tarballs and nightly tarballs include it...

Both release tarballs and nightly tarballs include it... <!-- github-comment-id:77693354 -->
Author
Owner

Saw that the tarball does not include Csocket.cpp, imagine that this is included with some build script?

GitHub tarballs don't include submodules and thus are broken and they shouldn't be used.

> Saw that the tarball does not include Csocket.cpp, imagine that this is included with some build script? GitHub tarballs don't include submodules and thus are broken and they shouldn't be used. <!-- github-comment-id:77694799 -->
Author
Owner

Sorry, meant to say the GitHub repo does not include Csocket.cpp yet the tarball does

Sorry, meant to say the GitHub repo does not include Csocket.cpp yet the tarball does <!-- github-comment-id:77697930 -->
Author
Owner

It's submodule which you should be able to find at https://github.com/znc/znc/tree/master/third_party but all changes to it belong to where you already went.

It's submodule which you should be able to find at https://github.com/znc/znc/tree/master/third_party but all changes to it belong to where you already went. <!-- github-comment-id:77700812 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#357