Obsolete golang-120
[oi-userland.git] / components / library / qt6 / patches / 06-qelfparser_p.cpp.patch
blobb92bbe84667ac107ecb6902bf269e42a43cccc95
1 diff -Nru qt-everywhere-src-6.3.2.orig/qtbase/src/corelib/plugin/qelfparser_p.cpp qt-everywhere-src-6.3.2/qtbase/src/corelib/plugin/qelfparser_p.cpp
2 --- qt-everywhere-src-6.3.2.orig/qtbase/src/corelib/plugin/qelfparser_p.cpp 2022-09-02 18:13:45.000000000 +0200
3 +++ qt-everywhere-src-6.3.2/qtbase/src/corelib/plugin/qelfparser_p.cpp 2023-09-18 21:03:26.954213291 +0200
4 @@ -56,6 +56,11 @@
5 # error "Need ELF header to parse plugins."
6 #endif
8 +// Support older ELFOSABI define for GNU/Linux
9 +#if !defined(ELFOSABI_GNU) && defined(ELFOSABI_LINUX)
10 +# define ELFOSABI_GNU ELFOSABI_LINUX
11 +#endif
13 QT_BEGIN_NAMESPACE
15 // ### Qt7: propagate the constant and eliminate dead code