![]() ![]() | ![]() |
File: [cvs.NetBSD.org] / pkgsrc / x11 / qt6-qtbase / patches / patch-src_corelib_plugin_qelfparser__p.cpp (download)
Revision 1.1, Thu Nov 24 11:11:38 2022 UTC (2 months, 1 week ago) by nros
Add qt6-qtbase version 6.4.1 to pkgsrc-current Qt6-qtbase is version 6 of the qtbase package of the Qt C++ GUI framework. This commit also adds qt6 meta-package needed for versioning and to be filled with more packages. |
$NetBSD: patch-src_corelib_plugin_qelfparser__p.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $ * Support older ELFOSABI_LINUX that has been replaced with ELFOSABI_GNU. Needed on NetBSD 9. --- src/corelib/plugin/qelfparser_p.cpp.orig 2022-11-03 12:40:18.000000000 +0000 +++ src/corelib/plugin/qelfparser_p.cpp @@ -20,6 +20,11 @@ # error "Need ELF header to parse plugins." #endif +// support older ELFOSABI define for GNU/Linux +#if !defined(ELFOSABI_GNU) && defined(ELFOSABI_LINUX) +#define ELFOSABI_GNU ELFOSABI_LINUX +#endif + QT_BEGIN_NAMESPACE using namespace Qt::StringLiterals;