1
0
forked from pool/libqt5-qtbase
libqt5-qtbase/0001-Include-limits-in-qbytearraymatcher.h.patch
Christophe Giboudeaux 97f4307af4 Accepting request 870227 from home:Vogtinator:qt5.15
- Add patch to fix build with GCC 11 (boo#1181861, QTBUG-90395):
  * 0001-Fix-build-with-GCC-11-include-limits.patch
  * 0001-Include-limits-in-qbytearraymatcher.h.patch

OBS-URL: https://build.opensuse.org/request/show/870227
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.15/libqt5-qtbase?expand=0&rev=22
2021-02-08 10:10:03 +00:00

26 lines
667 B
Diff

From 5c8acc8a047956dc79ee4f0bfbee32daa981d0fa Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Mon, 8 Feb 2021 10:29:27 +0100
Subject: [PATCH] Include <limits> in qbytearraymatcher.h
---
src/corelib/text/qbytearraymatcher.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/corelib/text/qbytearraymatcher.h b/src/corelib/text/qbytearraymatcher.h
index 0eedfc1d20..26754829f1 100644
--- a/src/corelib/text/qbytearraymatcher.h
+++ b/src/corelib/text/qbytearraymatcher.h
@@ -40,6 +40,8 @@
#ifndef QBYTEARRAYMATCHER_H
#define QBYTEARRAYMATCHER_H
+#include <limits>
+
#include <QtCore/qbytearray.h>
QT_BEGIN_NAMESPACE
--
2.25.1