-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
bump(main/txikijs): 24.12.0 #26026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump(main/txikijs): 24.12.0 #26026
Conversation
TomJo2000
commented
Sep 8, 2025
- I messed up rebasing update txikijs to 24.12.0 #25895, so I'm making a new PR for it.
|
Okay, what is going on here? |
4c14832 to
4d24518
Compare
|
Yeah it's cursed. |
4d24518 to
c227f95
Compare
a similar error recently occurred in Nodejs that was fixed by thunder-coding: Some clarification about thunder-coding's commit message: in Europe, the first official C specification is usually referred to as "C90", and in the United States, the first official C specification is usually referred to as "C89", and sometimes, through a confused game of telephone, people from each area consider only one of the names to be the correct name, or think that they are somehow "different", but people who know the full picture know the following:
How Clang's official website documents their support for this confusingly-double-named C language variant: https://clang.llvm.org/c_status.html (scroll to the bottom) "C89 implementation status""Clang implements all of the ISO 9899:1990 (C89) standard." "You can use Clang in C89 mode with the
@TomJo2000 I can reproduce the error locally, so you might want to try deleting all your docker containers and images and relaunching Patch to place in --- a/deps/libuv/CMakeLists.txt
+++ b/deps/libuv/CMakeLists.txt
@@ -20,7 +20,7 @@ include(CTest)
set(CMAKE_C_VISIBILITY_PRESET hidden)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS ON)
-set(CMAKE_C_STANDARD 90)
+set(CMAKE_C_STANDARD 11)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
I found out why it builds locally. --- a/deps/libuv/src/unix/linux.c
+++ b/deps/libuv/src/unix/linux.c
@@ -26,6 +26,7 @@
#include "uv.h"
#include "internal.h"
+#define LLONG_MAX 9223372036854775807LL
#include <inttypes.h>
#include <stdatomic.h>
#include <stddef.h> /* offsetof */I will be using Robert's patch as it seems like the more proper solution. |
c227f95 to
9c0e876
Compare
|
Agreed, my way is a better way, but the attempt of the other patch is credible as a successful messy workaround before a better solution was available. Its ( |
|
Oh did you actually come up with a fix for |
TomJo2000
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would ya look at that, if you patch the thing that's causing the problem the package actually builds...
I have been able to force the package to build locally for me, but in a very messy way that is not appropriate for a final version yet. I explained how in my last comment there, until me or someone else finds a better way, my workaround explained there can just be used as a temporary workaround for local building to try to get and test other packages that depend on |
1b3d602 to
c4c76bc
Compare
Co-authored-by: xdrlmm <983751615@qq.com> Co-authored-by: Robert Kirkman <rkirkman@termux.dev>
c4c76bc to
75f7279
Compare
robertkirkman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other patches removed look to me like they were written to fix build errors, so if those build errors do not happen anymore, they are probably unnecessary.
The one I don't know about is packages/txikijs/deps-libuv-src-unix-internal.h.patch, but the code that one patched no longer exists in the upstream so it is probably not necessary anymore.
|
|
