summaryrefslogtreecommitdiff
path: root/x11/qt4-libs
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2014-11-22 20:34:34 +0000
committerbsiegert <bsiegert>2014-11-22 20:34:34 +0000
commit820726728daec01e8febc54916b99c8271a9a1e6 (patch)
treed33469d45ba4aa1782b89b9ae645648fa26013b1 /x11/qt4-libs
parent0c3e557f1023435cdaf860b11e4dd38c96434116 (diff)
downloadpkgsrc-820726728daec01e8febc54916b99c8271a9a1e6.tar.gz
Compilation Fix for Mac OS 10.10.
Patch provided by Youri Mouton in PR pkg/49096.
Diffstat (limited to 'x11/qt4-libs')
-rw-r--r--x11/qt4-libs/distinfo3
-rw-r--r--x11/qt4-libs/patches/patch-src_gui_kernel_qcocoaapplicationdelegate__mac.mm13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/qt4-libs/distinfo b/x11/qt4-libs/distinfo
index 2f90eab0dd9..7521f6a814b 100644
--- a/x11/qt4-libs/distinfo
+++ b/x11/qt4-libs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.93 2014/11/17 11:54:42 jmcneill Exp $
+$NetBSD: distinfo,v 1.94 2014/11/22 20:34:34 bsiegert Exp $
SHA1 (qt-everywhere-opensource-src-4.8.6.tar.gz) = ddf9c20ca8309a116e0466c42984238009525da6
RMD160 (qt-everywhere-opensource-src-4.8.6.tar.gz) = 0220d4e76ac761c9ecfb8ddab6f2c1dc6ad70c33
@@ -65,6 +65,7 @@ SHA1 (patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_MediaPlayer.cpp
SHA1 (patch-src_3rdparty_webkit_Source_WebCore_platform_qt_PlatformKeyboardEventQt.cpp) = b28cf71983f8e71b82b1c634a10b3898ca13ede5
SHA1 (patch-src_corelib_io_io.pri) = cde98927b524c92fae1e053c2359e77bde2c240a
SHA1 (patch-src_corelib_io_qfilesystemwatcher.cpp) = bb16b95d20286b1aa069dc25843d7e0067cc0268
+SHA1 (patch-src_gui_kernel_qcocoaapplicationdelegate__mac.mm) = 0caa9b006b3ffee4ab747fca9fd224c7c49211c9
SHA1 (patch-src_network_ssl_qsslsocket__openssl__symbols.cpp) = 3ad682b86d2e9bd2b282caa298508dc3e9dd8566
SHA1 (patch-src_network_ssl_qsslsocket__openssl__symbols__p.h) = 417846ba9edab8638cafa41a54ef60029467ef80
SHA1 (patch-src_plugins_accessible_widgets_itemviews.cpp) = 1456fbaacef33f3b2422158d758d02990845048a
diff --git a/x11/qt4-libs/patches/patch-src_gui_kernel_qcocoaapplicationdelegate__mac.mm b/x11/qt4-libs/patches/patch-src_gui_kernel_qcocoaapplicationdelegate__mac.mm
new file mode 100644
index 00000000000..2e351c4b322
--- /dev/null
+++ b/x11/qt4-libs/patches/patch-src_gui_kernel_qcocoaapplicationdelegate__mac.mm
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_gui_kernel_qcocoaapplicationdelegate__mac.mm,v 1.1 2014/11/22 20:34:34 bsiegert Exp $
+
+--- src/gui/kernel/qcocoaapplicationdelegate_mac.mm.orig 2014-04-10 18:37:12.000000000 +0000
++++ src/gui/kernel/qcocoaapplicationdelegate_mac.mm
+@@ -122,7 +122,7 @@ static void cleanupCocoaApplicationDeleg
+ [dockMenu release];
+ [qtMenuLoader release];
+ if (reflectionDelegate) {
+- [NSApp setDelegate:reflectionDelegate];
++ [[NSApplication sharedApplication] setDelegate:reflectionDelegate];
+ [reflectionDelegate release];
+ }
+ [super dealloc];