diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-10 00:08:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-10 00:08:04 +0100 |
commit | 0aad4cd3e3fe3db90904ffc51b35e4ff160b53c5 (patch) | |
tree | a522875f946841ad0790b8170c9201bb145e09bc /dev-libs/libqt6pas/files | |
parent | 4fe228ee9aa3b9b825d54ace549a5517e153e8bd (diff) |
gentoo auto-resync : 10:06:2024 - 00:08:04
Diffstat (limited to 'dev-libs/libqt6pas/files')
-rw-r--r-- | dev-libs/libqt6pas/files/libqt6pas-1.0.0-remove-wrapper-of-undefined-method.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/libqt6pas/files/libqt6pas-1.0.0-remove-wrapper-of-undefined-method.patch b/dev-libs/libqt6pas/files/libqt6pas-1.0.0-remove-wrapper-of-undefined-method.patch new file mode 100644 index 000000000000..a1fad05aa7c7 --- /dev/null +++ b/dev-libs/libqt6pas/files/libqt6pas-1.0.0-remove-wrapper-of-undefined-method.patch @@ -0,0 +1,29 @@ +Author: Denis Pronin <dannftk@yandex.ru> + +Description: the patch is required to make the libqt6pas project compile since +QT6 does not have QString::isSimpleText() method any longer + +--- a/src/qstring_c.cpp ++++ b/src/qstring_c.cpp +@@ -1073,11 +1073,6 @@ + return (bool) ((QString *)handle)->isNull(); + } + +-bool QString_isSimpleText(QStringH handle) +-{ +- return (bool) ((QString *)handle)->isSimpleText(); +-} +- + bool QString_isRightToLeft(QStringH handle) + { + return (bool) ((QString *)handle)->isRightToLeft(); +--- a/src/qstring_c.h ++++ b/src/qstring_c.h +@@ -166,7 +166,6 @@ + C_EXPORT void QString_push_front(QStringH handle, PWideChar c); + C_EXPORT void QString_push_front2(QStringH handle, PWideString s); + C_EXPORT bool QString_isNull(QStringH handle); +-C_EXPORT bool QString_isSimpleText(QStringH handle); + C_EXPORT bool QString_isRightToLeft(QStringH handle); + C_EXPORT void QString_chopped(QStringH handle, int len, PWideString retval); + C_EXPORT void QString_first(QStringH handle, int n, PWideString retval); |