[packages/qt4] - one more gcc 11 fix

baggins baggins at pld-linux.org
Tue Aug 17 10:09:05 CEST 2021


commit 4a00705a3681bd3a9b8753121b157d4d030adc36
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Aug 17 10:08:43 2021 +0200

    - one more gcc 11 fix

 gcc11.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/gcc11.patch b/gcc11.patch
index 6c22600..651cd80 100644
--- a/gcc11.patch
+++ b/gcc11.patch
@@ -9,3 +9,14 @@
          image->setHeight(*optionalHeight);
      return image.release();
  }
+--- qt-everywhere-opensource-src-4.8.7/tools/linguist/linguist/messagemodel.cpp~	2015-05-07 16:14:39.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.7/tools/linguist/linguist/messagemodel.cpp	2021-08-17 10:08:13.701417706 +0200
+@@ -183,7 +183,7 @@
+         if (ContextItem *c = one->findContext(oc->context())) {
+             for (int j = 0; j < oc->messageCount(); ++j) {
+                 MessageItem *m = oc->messageItem(j);
+-                if (c->findMessage(m->text(), m->comment()) >= 0)
++                if (c->findMessage(m->text(), m->comment()))
+                     ++inBoth;
+             }
+         }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt4.git/commitdiff/4a00705a3681bd3a9b8753121b157d4d030adc36



More information about the pld-cvs-commit mailing list