summaryrefslogtreecommitdiff
path: root/x11/qt5-qtbase/patches/patch-qmake_qmake.pri
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt5-qtbase/patches/patch-qmake_qmake.pri')
-rw-r--r--x11/qt5-qtbase/patches/patch-qmake_qmake.pri15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/qt5-qtbase/patches/patch-qmake_qmake.pri b/x11/qt5-qtbase/patches/patch-qmake_qmake.pri
new file mode 100644
index 00000000000..8df02cbace1
--- /dev/null
+++ b/x11/qt5-qtbase/patches/patch-qmake_qmake.pri
@@ -0,0 +1,15 @@
+$NetBSD: patch-qmake_qmake.pri,v 1.1 2015/10/26 19:03:59 adam Exp $
+
+Fix building on Darwin.
+
+--- qmake/qmake.pri.orig 2015-07-20 09:25:44.000000000 +0000
++++ qmake/qmake.pri
+@@ -136,7 +136,7 @@ bootstrap { #Qt code
+ SOURCES += qfilesystemengine_unix.cpp qfilesystemiterator_unix.cpp qfsfileengine_unix.cpp
+ mac {
+ SOURCES += qcore_mac.cpp qsettings_mac.cpp
+- OBJECTIVE_SOURCES += qcore_mac_objc.mm qlocale_mac.mm
++ OBJECTIVE_SOURCES += qcore_mac_objc.mm qlocale_mac.mm qstring_mac.mm
+ LIBS += -framework ApplicationServices -framework CoreServices -framework Foundation
+ } else {
+ SOURCES += qlocale_unix.cpp