-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
barrier: fix build with gcc #26964
base: master
Are you sure you want to change the base?
barrier: fix build with gcc #26964
Conversation
Notifying maintainers: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you submit any of these patches upstream? Please add a link or do so
@reneeotten Those are not needed with clang builds (which is why they are applied conditionally on gcc in use) and partially incompatible with the current way upstream builds this. And it will be pointless to apply them partially, since that is not sufficient to make gcc build work. |
most of the patches seem like they would be okay regardless if the compiler used and could/should thus be send upstream. |
@reneeotten Ok, I recalled now, I did not submit I think everything else is just tweaking the build to work for gcc, which does not support Apple ObjC/ObjC++ syntax fully. |
@reneeotten @herbygillot Could we merge this? As you can see from the fact that an absolutely credible and minimal fix for modern gcc is still pending in upstream, they are not quick with merging anything, it is pointless to wait. There were folks wanting specifically this port on powerpc, let them have it, since I doubt they are using my fork of MacPorts, and also they were on Leopard, not 10.6 ppc. |
@@ -46,15 +44,33 @@ if { ${os.major} < 16 } { | |||
configure.args-append \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs the os.platform
check as well
3bd1e79
to
8f8485d
Compare
Description
Fix the build on systems using gcc
Type(s)
Tested on
macOS 10.6
Xcode 3.2
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?