1
0
forked from pool/libqt5-qtbase
libqt5-qtbase/Export-qt_open64-from-QtCore.patch
Dominique Leuenberger d9567c040d Accepting request 638527 from KDE:Qt5
- Add patch to avoid lag on startup with the modesetting driver on
  intel (QTBUG-70760):
  * 0001-xcb-Don-t-get-initial-screen-rotation.patch

- Update to 5.11.2
  * New bugfix release
  * For more details please see:
  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.11.2/?h=v5.11.2
- Refresh patches:
  * 0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch
  * tell-the-truth-about-private-api.patch
- Remove patches, now upstream:
  * 0001-Fix-qmake-build-with-glibc-2.28.patch
- Add patch to fix build on 32-bit:
  * Export-qt_open64-from-QtCore.patch

OBS-URL: https://build.opensuse.org/request/show/638527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtbase?expand=0&rev=88
2018-10-01 06:13:22 +00:00

31 lines
1.1 KiB
Diff

From ba22a6731377c8604d13e3855204c03652c0a2e3 Mon Sep 17 00:00:00 2001
From: Thiago Macieira <thiago.macieira@intel.com>
Date: Fri, 21 Sep 2018 09:04:24 -0700
Subject: [PATCH] Export qt_open64 from QtCore
Other libs use qcore_unix_p.h.
qopenglprogrambinarycache.cpp:function QOpenGLProgramBinaryCache::load(QByteArray const&, unsigned int): error: undefined reference to 'qt_open64(char const*, int, unsigned int)'
Change-Id: I44e7d800c68141bdaae0fffd155675d15eded2e4
---
src/corelib/kernel/qcore_unix_p.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/corelib/kernel/qcore_unix_p.h b/src/corelib/kernel/qcore_unix_p.h
index cb98bef3476..5a2a29a3273 100644
--- a/src/corelib/kernel/qcore_unix_p.h
+++ b/src/corelib/kernel/qcore_unix_p.h
@@ -178,7 +178,7 @@ inline void qt_ignore_sigpipe()
#if defined(Q_PROCESSOR_X86_32) && defined(__GLIBC__)
# if !__GLIBC_PREREQ(2, 22)
-int qt_open64(const char *pathname, int flags, mode_t);
+Q_CORE_EXPORT int qt_open64(const char *pathname, int flags, mode_t);
# undef QT_OPEN
# define QT_OPEN qt_open64
# endif
--
2.16.3