LibSDL build failure on Mac OS 10.5.

William Gallafent william at gallaf.net
Fri Jan 11 08:52:25 PST 2008


On 11 Jan 2008, at 16:44, William Gallafent wrote:
> --->  Applying patches to libsdl
> Error: Target org.macports.patch returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_devel_libsdl/work/SDL-1.2.13" && patch - 
> p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ 
> ports/devel/libsdl/files/patch-AudioFilePlayer.h'" returned error 1
> Command output: patching file src/cdrom/macosx/AudioFilePlayer.h
> Hunk #1 FAILED at 33.
> 1 out of 1 hunk FAILED -- saving rejects to file src/cdrom/macosx/ 
> AudioFilePlayer.h.rej

Removing the following section from the port file completely appears  
to fix the problem:

platform darwin 9 {
     patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c
}

- It looks as if the upstream sources now work OK on Mac OS 10.5, so  
there's no need for macports to apply these patches any more.


More information about the macports-users mailing list