summaryrefslogtreecommitdiffstats
path: root/package/qt/qt-uClibc-lfs-fix.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-02-03 14:52:07 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-02-03 14:52:56 +0100
commit298cd8eaa21a21eee85f9551a26ad294347b1d5a (patch)
tree249fa33b66f65e6daffdbfc8ca2e5399e8d89e61 /package/qt/qt-uClibc-lfs-fix.patch
parentdd798a45c571063595c45278e28ed4f614f2cf32 (diff)
downloadbuildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.tar.gz
buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.zip
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt/qt-uClibc-lfs-fix.patch')
-rw-r--r--package/qt/qt-uClibc-lfs-fix.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/package/qt/qt-uClibc-lfs-fix.patch b/package/qt/qt-uClibc-lfs-fix.patch
deleted file mode 100644
index ea04a607ea..0000000000
--- a/package/qt/qt-uClibc-lfs-fix.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 6f88b27de256266947a7f6a3e70e18510754aab2 Mon Sep 17 00:00:00 2001
-From: Peter Korsgaard <jacmet@sunsite.dk>
-Date: Sat, 14 Apr 2012 20:36:07 +0200
-Subject: [PATCH] mkspecs/common/posix: fix !largefile builds on uClibc
-
-uClibc doesn't even define O_LARGEFILE when not configured with large file
-support, so ensure this define is only used when Qt is built with
--largefile, otherwise the build fails with:
-
-io/qtemporaryfile.cpp: In function 'bool createFileFromTemplate(
- NativeFileHandle&, QFileSystemEntry::NativePath&, size_t, size_t,
- QSystemError&)':
-io/qtemporaryfile.cpp:197:57: error: 'O_LARGEFILE' was not declared in
- this scope
-
-Reported-Upstream: https://bugreports.qt-project.org/browse/QTBUG-25321
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- mkspecs/common/posix/qplatformdefs.h | 5 +++++
- 1 files changed, 5 insertions(+), 0 deletions(-)
-
-diff --git a/mkspecs/common/posix/qplatformdefs.h b/mkspecs/common/posix/qplatformdefs.h
-index daecc00..8a796cf 100644
---- a/mkspecs/common/posix/qplatformdefs.h
-+++ b/mkspecs/common/posix/qplatformdefs.h
-@@ -123,7 +123,12 @@
- #define QT_READ ::read
- #define QT_WRITE ::write
-
-+#ifdef QT_LARGEFILE_SUPPORT
- #define QT_OPEN_LARGEFILE O_LARGEFILE
-+#else
-+#define QT_OPEN_LARGEFILE 0
-+#endif
-+
- #define QT_OPEN_RDONLY O_RDONLY
- #define QT_OPEN_WRONLY O_WRONLY
- #define QT_OPEN_RDWR O_RDWR
---
-1.7.8.3
-
OpenPOWER on IntegriCloud