[MacPorts] #24340: libao: patch phase fails on 10.5 and earlier

MacPorts noreply at macports.org
Mon Apr 5 04:06:47 PDT 2010

#24340: libao: patch phase fails on 10.5 and earlier
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.8.2                                
 Keywords:                           |        Port:  libao                                

Comment(by stephen@…):

 For those who, like me, are in a big hurry, I downloaded the patch from
 the link "https://trac.xiph.org/attachment/ticket/1667/libao.patch" (same
 as above) to dports/audio/libao/files/libao.patch, and made the following
 change to dports/audio/libao/Portfile:

 Index: Portfile
 --- Portfile    (revision 66043)
 +++ Portfile    (working copy)
 @@ -32,7 +32,7 @@

  platform darwin {
      if {${os.major} < 10} {
 -        patchfiles patch-AU-src__plugins__macosx__ao_macosx.c
 +        patchfiles libao.patch
      post-destroot {
          system "echo default_driver=macosx >>

 and was able to successfully upgrade using "sudo port -u upgrade libao" on
 10.5.8.  The Xiph bugreport cited above says that libao.patch worked on
 Mac OS X 10.4.11, so this should work for MacPorts on Tiger, too.

 Thanks to ryandesign for the clue!

Ticket URL: <http://trac.macports.org/ticket/24340#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

More information about the macports-tickets mailing list