[MacPorts] #25134: libsndfile bad #include
#25134: libsndfile bad #include -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: perry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: include carbon | Port: libsndfile -------------------------------------+-------------------------------------- I've been suggested that '''programs/sndfile-play.c''' in worksrcdir has a wrong include for "Carbon.h". [http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFra... This Apple document] suggests that the include should be {{{ #include <Carbon/Carbon.h> }}} I'm not able to reproduce the broken build myself but I'm attaching a patch. -- Ticket URL: <http://trac.macports.org/ticket/25134> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25134: libsndfile bad #include -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: perry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: include carbon | Port: libsndfile -------------------------------------+-------------------------------------- Comment(by toby@…): Carbon.h should be fine, unless /Developer/Headers/FlatCarbon is missing for some reason? -- Ticket URL: <http://trac.macports.org/ticket/25134#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25134: libsndfile bad #include -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: perry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: include carbon | Port: libsndfile -------------------------------------+-------------------------------------- Comment(by and.damore@…): True, his XCode wasn't installed in /Developer but the path should have been grepped by '''xcode-select -print-path''' in '''portmain::get_developer_dir''', shouldn't it? Is this a MacPorts or system behaviour? -- Ticket URL: <http://trac.macports.org/ticket/25134#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25134: libsndfile bad #include -------------------------------------+-------------------------------------- Reporter: and.damore@… | Owner: perry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: include carbon | Port: libsndfile -------------------------------------+-------------------------------------- Comment(by jmr@…): Builds fine for me as is. -- Ticket URL: <http://trac.macports.org/ticket/25134#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25134: libsndfile bad #include --------------------------------------+------------------------------------- Reporter: and.damore@… | Owner: perry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: include carbon Port: libsndfile | --------------------------------------+------------------------------------- Changes (by perry@…): * status: new => closed * resolution: => worksforme Comment: I'm resolving this as worksforme since it appears to build fine for all of us. Also the referenced Apple document states: For Carbon developers porting their source code from Mac OS 9 to Mac OS X, including only the Carbon.h header file may require changes to many source files that might be difficult to make right away. For this situation, Apple provides a “flat header” alternative that lets you continue to use your present #include commands. -- Ticket URL: <http://trac.macports.org/ticket/25134#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25134: libsndfile bad #include --------------------------------------+------------------------------------- Reporter: and.damore@… | Owner: perry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: worksforme | Keywords: include carbon Port: libsndfile | --------------------------------------+------------------------------------- Comment(by holms@…): New Xcode directory is called /Xcode64 from nowon.. So i had error with carbon too... developers must detect xcode folder, and not hardcore xcode folder =( -- Ticket URL: <https://trac.macports.org/ticket/25134#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts