diff --git a/srcpkgs/codelite/patches/musl.patch b/srcpkgs/codelite/patches/musl.patch index 6dfbdb42152..9d369022a88 100644 --- a/srcpkgs/codelite/patches/musl.patch +++ b/srcpkgs/codelite/patches/musl.patch @@ -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 --# include - # include - # include -+# include - #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 --# include - # include -+# include - #endif - clNamedPipeServer::clNamedPipeServer(const char* pipePath) - : clNamedPipe(pipePath) diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template index 3a993a2c0cf..645982538f9 100644 --- a/srcpkgs/codelite/template +++ b/srcpkgs/codelite/template @@ -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 " 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"