]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Add patches for CO9
authorGuytri KASTANE <guytri.kastane@cea.fr>
Tue, 17 Oct 2023 09:45:34 +0000 (11:45 +0200)
committerGuytri KASTANE <guytri.kastane@cea.fr>
Tue, 17 Oct 2023 09:45:34 +0000 (11:45 +0200)
products/patches/qt_numeric_limits_CO9.patch [new file with mode: 0644]
products/patches/root-include_limits_CO9.patch [new file with mode: 0644]

diff --git a/products/patches/qt_numeric_limits_CO9.patch b/products/patches/qt_numeric_limits_CO9.patch
new file mode 100644 (file)
index 0000000..17ab6ed
--- /dev/null
@@ -0,0 +1,34 @@
+diff -Naur qt.ref/qtbase/src/corelib/global/qendian.h qt.dev/qtbase/src/corelib/global/qendian.h
+--- qt.ref/qtbase/src/corelib/global/qendian.h 2020-09-21 15:16:21.000000000 +0200
++++ qt.dev/qtbase/src/corelib/global/qendian.h 2023-10-11 10:52:55.992773784 +0200
+@@ -47,6 +47,7 @@
+ // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems
+ #include <stdlib.h>
+ #include <string.h>
++#include <limits>
+ #ifdef min // MSVC
+ #undef min
+diff -Naur qt.ref/qtbase/src/corelib/tools/qbytearraymatcher.h qt.dev/qtbase/src/corelib/tools/qbytearraymatcher.h
+--- qt.ref/qtbase/src/corelib/tools/qbytearraymatcher.h        2020-09-21 15:16:21.000000000 +0200
++++ qt.dev/qtbase/src/corelib/tools/qbytearraymatcher.h        2023-10-11 10:57:35.066370201 +0200
+@@ -41,6 +41,7 @@
+ #define QBYTEARRAYMATCHER_H
+ #include <QtCore/qbytearray.h>
++#include <limits>
+ QT_BEGIN_NAMESPACE
+diff -Naur qt.ref/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h qt.dev/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h
+--- qt.ref/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h    2020-10-15 08:53:19.000000000 +0200
++++ qt.dev/qtdeclarative/src/qmldebug/qqmlprofilerevent_p.h    2023-10-11 11:36:43.775903667 +0200
+@@ -50,6 +50,8 @@
+ #include <initializer_list>
+ #include <type_traits>
++#include <limits>
++
+ //
+ //  W A R N I N G
+ //  -------------
diff --git a/products/patches/root-include_limits_CO9.patch b/products/patches/root-include_limits_CO9.patch
new file mode 100644 (file)
index 0000000..3c0c86d
--- /dev/null
@@ -0,0 +1,11 @@
+--- root.ref/core/foundation/inc/ROOT/libcpp_string_view.h     2020-08-17 14:41:56.000000000 +0200
++++ root.dev/core/foundation/inc/ROOT/libcpp_string_view.h     2023-10-13 14:49:56.207768679 +0200
+@@ -186,7 +186,7 @@
+ #include <ostream>
+ #include <iomanip>
+ #include <stdexcept>
+-
++#include <limits>
+ //#include <__debug>
+ #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) && !defined(_MSC_VER)