[MacPorts] #48129: qt4-mac @4.8.7: El Capitan is an unsupported platform
MacPorts
noreply at macports.org
Sat Oct 24 16:28:57 PDT 2015
#48129: qt4-mac @4.8.7: El Capitan is an unsupported platform
------------------------+-------------------------
Reporter: SAssadi@… | Owner: michaelld@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: elcapitan
Port: qt4-mac |
------------------------+-------------------------
Changes (by ryrrah@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
Replying to [comment:43 michaelld@…]:
> Glad this change is working for folks! We (MP devs) know of the issues
with trac & someone of authority is working on addressing them. No idea
when it will actually be fixed.
I am having trouble applying the patch. I am on El Capitan 10.11.1 and
have installed the latest versions of Xcode and MacPorts. Following the
sequence above, at the point that I apply the patch, I get the following
error message:
patching file Portfile
Hunk #1 FAILED at 238.
1 out of 1 hunk FAILED -- saving rejects to file Portfile.rej
patching file files/patch-src_gui_painting_qpaintengine_mac.diff
The output of Portfile.rej follows. Any suggestions on how to fix this?
Thanks.
Portfile.rej
***************
*** 238,252 ****
patchfiles-append \
patch-tools_macdeployqt_shared_shared.cpp.diff
- # error out if trying to build on a new OSX version (> 10.10).
platform darwin {
- if {${MINOR} > 10} {
# This project needs to be updated to build with clang++ against
libc++
depends_lib
depends_run
pre-fetch {
- ui_error "$name does not currently build on OSX later than
10.10 'Yosemite'."
error "unsupported platform"
}
}
--- 238,263 ----
patchfiles-append \
patch-tools_macdeployqt_shared_shared.cpp.diff
+ # (23) remove ColorSync usage from qpaintengine.
+ # This patch allows for building using the 10.11 SDK, and is also
+ # backward compatible with prior OS versions since it just removes API
+ # usage but does not otherwise add any. This patch does roughly the
+ # same thing as that from Qt5 commit b06304e16:
+ #
http://code.qt.io/cgit/qt/qtbase.git/commit/?id=b06304e164ba47351fa292662c1e6383c081b5ca
+
+ patchfiles-append \
+ patch-src_gui_painting_qpaintengine_mac.diff
+
+ # error out if trying to build on a new OSX version (> 10.11).
+
platform darwin {
+ if {${MINOR} > 11} {
# This project needs to be updated to build with clang++ against
libc++
depends_lib
depends_run
pre-fetch {
+ ui_error "$name does not currently build on OSX later than
10.11 'El Capitan'."
error "unsupported platform"
}
}
--
Ticket URL: <https://trac.macports.org/ticket/48129#comment:44>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list