diff options
author | Fabian Groffen <grobian@gentoo.org> | 2012-09-30 13:13:57 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2012-09-30 13:13:57 +0000 |
commit | f147041f69f70583b3d81a7fd5fa5b00c85d9d16 (patch) | |
tree | 80053a22ddc80f732d9fa0f1b8f9faab4628d49c /media-libs/phonon-qt7/files | |
parent | Disable tracker support for version to stabilize as it's not ready yet. Drop ... (diff) | |
download | gentoo-2-f147041f69f70583b3d81a7fd5fa5b00c85d9d16.tar.gz gentoo-2-f147041f69f70583b3d81a7fd5fa5b00c85d9d16.tar.bz2 gentoo-2-f147041f69f70583b3d81a7fd5fa5b00c85d9d16.zip |
Fix compilation on OSX Lion
(Portage version: 2.2.01.21165-prefix/cvs/Darwin i386)
Diffstat (limited to 'media-libs/phonon-qt7/files')
-rw-r--r-- | media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch b/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch new file mode 100644 index 000000000000..6d1a5626a207 --- /dev/null +++ b/media-libs/phonon-qt7/files/phonon-qt7-0_pre20110424-darwin11.patch @@ -0,0 +1,29 @@ +disable AUGraphAddNode, it needs an AudioComponent iso Component +need a definition for gnuOrtho2D + +--- phonon-qt7/qt7/audionode.mm ++++ phonon-qt7/qt7/audionode.mm +@@ -69,9 +69,9 @@ + + OSStatus err = noErr; + #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 +- if (QSysInfo::MacintoshVersion >= QSysInfo::MV_10_5) +- err = AUGraphAddNode(m_audioGraph->audioGraphRef(), &description, &m_auNode); +- else ++// if (QSysInfo::MacintoshVersion >= QSysInfo::MV_10_5) ++// err = AUGraphAddNode(m_audioGraph->audioGraphRef(), &description, &m_auNode); ++// else + #endif + err = AUGraphNewNode(m_audioGraph->audioGraphRef(), &description, 0, 0, &m_auNode); + +--- phonon-qt7/qt7/videowidget.mm ++++ phonon-qt7/qt7/videowidget.mm +@@ -35,6 +35,8 @@ + #import <AppKit/NSImage.h> + #import <QTKit/QTMovieView.h> + ++#import <OpenGL/glu.h> ++ + ///////////////////////////////////////////////////////////////////////////////////////// + + #ifdef QT_MAC_USE_COCOA // Rendering to a QTMovieView can only be done in Cocoa |