codelite: update to 16.0.0.

This commit is contained in:
Duncaen 2022-10-08 17:57:16 +02:00
parent bdc11e1c68
commit 3117884e81
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 2 additions and 54 deletions

View File

@ -10,55 +10,3 @@ index 1b78e0825..a4ffdc3e7 100644
void WriteContent( const std::string& logfile, const std::string& filename, const std::string& flags )
{
diff --git a/sdk/codelite_indexer/libctags/read.c b/sdk/codelite_indexer/libctags/read.c
index 144032de5..bfabf75d3 100644
--- a/sdk/codelite_indexer/libctags/read.c
+++ b/sdk/codelite_indexer/libctags/read.c
@@ -605,6 +605,9 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
#if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
if(location < 0)
return 0;
+#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
+ if(location.__lldata < 0)
+ return 0;
#elif defined(__NetBSD__)
if(location._pos < 0)
return 0;
@@ -622,6 +625,8 @@ extern int readChars (char *buffer, size_t bufferSize, fpos_t location, fpos_t e
#if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
sizeToRead = endPos - location;
+#elif defined(__linux__) && !defined(__GLIBC__) /* musl */
+ sizeToRead = endPos.__lldata - location.__lldata;
#elif defined(__NetBSD__)
sizeToRead = endPos._pos - location._pos;
#else
diff --git a/sdk/codelite_indexer/network/named_pipe.cpp b/sdk/codelite_indexer/network/named_pipe.cpp
index 6e729946d..3e587a428 100644
--- a/sdk/codelite_indexer/network/named_pipe.cpp
+++ b/sdk/codelite_indexer/network/named_pipe.cpp
@@ -27,9 +27,9 @@
#ifndef __WXMSW__
# include <sys/types.h>
-# include <sys/unistd.h>
# include <sys/socket.h>
# include <sys/time.h>
+# include <unistd.h>
#endif
#ifdef __WXMSW__
diff --git a/sdk/codelite_indexer/network/named_pipe_server.cpp b/sdk/codelite_indexer/network/named_pipe_server.cpp
index 708df483d..68d7e3958 100644
--- a/sdk/codelite_indexer/network/named_pipe_server.cpp
+++ b/sdk/codelite_indexer/network/named_pipe_server.cpp
@@ -26,8 +26,8 @@
#include "named_pipe_server.h"
#ifndef __WXMSW__
# include <sys/types.h>
-# include <sys/unistd.h>
# include <sys/socket.h>
+# include <unistd.h>
#endif
clNamedPipeServer::clNamedPipeServer(const char* pipePath)
: clNamedPipe(pipePath)

View File

@ -1,6 +1,6 @@
# Template file for 'codelite'
pkgname=codelite
version=15.0.6
version=16.0.0
revision=1
build_style=cmake
build_helper=cmake-wxWidgets-gtk3
@ -16,7 +16,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.codelite.org"
distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz"
checksum=28430c37d163219b1001b6e539e520e4f3e750ea5b8ee2457d92d0961fee15bb
checksum=fb707b98b2f56ae0791c7cb341c6a0240ff26a785dae31f7dcd1038956737957
python_version=3
build_options="hunspell lldb sftp"