Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions srcpkgs/qtcreator/patches/int128.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
diff '--color=auto' -ur qtcreator-20.0.1.orig/src/libs/sqlite/sqlitebasestatement.cpp qtcreator-20.0.1.patched/src/libs/sqlite/sqlitebasestatement.cpp
--- qtcreator-20.0.1.orig/src/libs/sqlite/sqlitebasestatement.cpp 2026-09-14 10:36:47.966680891 +0200
+++ qtcreator-20.0.1.patched/src/libs/sqlite/sqlitebasestatement.cpp 2026-09-14 10:52:10.701954682 +0200
@@ -163,7 +163,7 @@
Sqlite::throwError(resultCode, sqliteDatabaseHandle(sourceLocation), sourceLocation);
}

-#ifdef Q_OS_UNIX
+#if defined(Q_OS_UNIX) && defined(QT_SUPPORTS_INT128)
void BaseStatement::bind(int index, __int128_t value, const source_location &sourceLocation)
{
NanotraceHR::Tracer tracer{"bind int128",
@@ -560,7 +560,7 @@
return value;
}

-#ifdef Q_OS_UNIX
+#if defined(Q_OS_UNIX) && defined(QT_SUPPORTS_INT128)
__int128_t BaseStatement::fetchInt128Value(int column) const
{
NanotraceHR::Tracer tracer{"fetch int 128",
@@ -586,7 +586,7 @@
return fetchLongLongValue(column);
}

-#ifdef Q_OS_UNIX
+#if defined(Q_OS_UNIX) && defined(QT_SUPPORTS_INT128)
template<>
__int128_t BaseStatement::fetchValue<__int128_t>(int column) const
{
diff '--color=auto' -ur qtcreator-20.0.1.orig/src/libs/sqlite/sqlitebasestatement.h qtcreator-20.0.1.patched/src/libs/sqlite/sqlitebasestatement.h
--- qtcreator-20.0.1.orig/src/libs/sqlite/sqlitebasestatement.h 2026-09-14 10:36:47.966680891 +0200
+++ qtcreator-20.0.1.patched/src/libs/sqlite/sqlitebasestatement.h 2026-09-14 10:54:22.181276009 +0200
@@ -59,7 +59,7 @@
int fetchIntValue(int column) const;
long fetchLongValue(int column) const;
long long fetchLongLongValue(int column) const;
-#ifdef Q_OS_UNIX
+#if defined(Q_OS_UNIX) && defined(QT_SUPPORTS_INT128)
__int128_t fetchInt128Value(int column) const;
#endif

@@ -74,7 +74,7 @@
void bind(int index, NullValue, const source_location &sourceLocation);
void bind(int index, int value, const source_location &sourceLocation);
void bind(int index, long long value, const source_location &sourceLocation);
-#ifdef Q_OS_UNIX
+#if defined(Q_OS_UNIX) && defined(QT_SUPPORTS_INT128)
void bind(int index, __int128_t value, const source_location &sourceLocation);
#endif