diff --git a/srcpkgs/qtcreator/patches/int128.patch b/srcpkgs/qtcreator/patches/int128.patch new file mode 100644 index 00000000000000..e4ca4844ca263d --- /dev/null +++ b/srcpkgs/qtcreator/patches/int128.patch @@ -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 +