Ticket #13514: 0_8_8.diff

File 0_8_8.diff, 4.0 KB (added by hans@…, 16 years ago)

patch to build and upgrade to 0.8.8

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name             libao
    5 version          0.8.6
    6 revision         2
     5version          0.8.8
     6revision         1
    77categories       audio
    88maintainers      nomaintainer
    99description      A Cross-platform Audio Library
     
    1515homepage         http://www.xiph.org/ao/
    1616platforms        darwin
    1717master_sites     http://downloads.xiph.org/releases/ao/
    18 checksums        md5 12e136a4c0995068ff134997c84421ed
     18checksums        md5 b92cba3cbcf1ee9bc221118a85d23dcd
    1919
    20 patchfiles       patch-AU-configure patch-AU-src__plugins__macosx__ao_macosx.c
     20patchfiles       patch-configure
    2121post-patch {
    2222        reinplace "s|/etc/libao.conf|${prefix}/etc/libao.conf|" \
    2323                ${worksrcpath}/CHANGES \
  • files/patch-configure

    old new  
    1 --- configure.orig      Sat Jan 22 10:15:13 2005
    2 +++ configure   Sat Jan 22 10:20:39 2005
    3 @@ -502,7 +502,7 @@
    4  includedir='${prefix}/include'
    5  oldincludedir='/usr/include'
    6  infodir='${prefix}/info'
    7 -mandir='${prefix}/man'
    8 +mandir='${prefix}/share/man'
    9  
    10  ac_prev=
    11  for ac_option
    12 @@ -19121,9 +19121,10 @@
    13                  PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
     1Index: libao-0.8.8/configure
     2===================================================================
     3--- configure.old       2007-05-24 04:51:52.000000000 -0600
     4+++ configure   2007-12-06 11:03:14.000000000 -0700
     5@@ -20094,9 +20094,9 @@
     6                 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char" ;;
    147         *-darwin*)
    158                 PLUGIN_LDFLAGS="-module -avoid-version"
    169-                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore"
     
    1811-                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore" ;;
    1912+                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
    2013+                CFLAGS="-D__NO_MATH_INLINES -fsigned-char"
    21 +                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char"
    22 +                LIBS="-Wl,-framework -Wl,AudioUnit" ;;
     14+                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
    2315         *)
    2416                 PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
    2517                 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
    26 @@ -19223,7 +19224,7 @@
     18@@ -20203,7 +20203,7 @@
    2719        DLOPEN_FLAG='(RTLD_LAZY)'
    2820        SHARED_LIB_EXT='.sl'
    2921        ;;
     
    3224        DLOPEN_FLAG='(RTLD_LAZY)'
    3325        SHARED_LIB_EXT='.so'
    3426        ;;
    35 @@ -19245,7 +19246,7 @@
    36  if test "$prefix" = "/usr"; then
    37      MANDIR='$(datadir)/man'
    38  else
    39 -    MANDIR='$(prefix)/man'
    40 +    MANDIR='$(prefix)/share/man'
    41  fi
    42  
    43  
    44 @@ -24370,13 +24371,6 @@
    45    { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
     27@@ -25356,11 +25356,6 @@
     28   { { echo "$as_me:$LINENO: error: conditional \"HAVE_WMM\" was never defined.
    4629 Usually this means the macro was only invoked conditionally." >&5
    47  echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
     30 echo "$as_me: error: conditional \"HAVE_WMM\" was never defined.
    4831-Usually this means the macro was only invoked conditionally." >&2;}
    4932-   { (exit 1); exit 1; }; }
    5033-fi
    5134-if test -z "${HAVE_ESD_TRUE}" && test -z "${HAVE_ESD_FALSE}"; then
    5235-  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ESD\" was never defined.
    53 -Usually this means the macro was only invoked conditionally." >&5
    54 -echo "$as_me: error: conditional \"HAVE_ESD\" was never defined.
     36 Usually this means the macro was only invoked conditionally." >&5
     37 echo "$as_me: error: conditional \"HAVE_ESD\" was never defined.
    5538 Usually this means the macro was only invoked conditionally." >&2;}
    56     { (exit 1); exit 1; }; }
    57  fi