Ticket #2772: esound.diff

File esound.diff, 3.3 KB (added by danchr@…, 19 years ago)

Fix

  • audio/esound/Portfile

    diff -Naur /usr/src/darwinports/dports/audio/esound/Portfile audio/esound/Portfile
    old new  
    33PortSystem 1.0
    44name            esound
    55version         0.2.35
     6revision        1
    67categories      audio
    7 maintainers     gnome-darwinports@opendarwin.org
     8maintainers     danchr@opendarwin.org
    89description     Enlightened Sound Daemon
    910homepage        http://www.tux.org/~ricdude/EsounD.html
    1011platforms       darwin
    1112master_sites    gnome:sources/esound/0.2
     13use_autoconf    yes
    1214use_bzip2       yes
    1315depends_lib     lib:audiofile.0:audiofile
    14 checksums       md5 1566344f80a8909b5e6e4d6b6520c2c1
    15 configure.args  --mandir=${prefix}/share/man
     16depends_build   path:${prefix}/bin/autoconf:autoconf \
     17                path:${prefix}/bin/glibtool:libtool
     18checksums       sha1 b3164f17d84fe57f1457bc0d0a50615f67c87de8
     19configure.args  --enable-ipv6 --with-audiofile
     20patchfiles      patch-esd.conf patch-esd_config.c patch-configure.in
    1621
    1722variant puredarwin {
    1823                configure.args-append   --disable-local-sound
    1924}
    2025
    21 variant darwin {
    22         configure.env LDFLAGS="-framework CoreAudio"
     26pre-configure {
     27        system "cd ${worksrcpath} && glibtoolize --force && aclocal"
    2328}
    2429
    2530long_description EsounD, the Enlightened Sound Daemon, is a server \
  • audio/esound/files/patch-configure.in

    diff -Naur /usr/src/darwinports/dports/audio/esound/files/patch-configure.in audio/esound/files/patch-configure.in
    old new  
     1--- configure.in.orig   Wed Mar 23 00:31:46 2005
     2+++ configure.in        Wed Mar 23 00:35:36 2005
     3@@ -251,7 +251,8 @@
     4    if test "${ac_cv_header_CoreAudio_CoreAudio_h}" = "yes"; then
     5       found_sound=yes
     6       AC_DEFINE(DRIVER_COREAUDIO)
     7-      SOUND_LIBS="-Wl,-framework -Wl,CoreAudio"
     8+      SOUND_LIBS="-framework CoreAudio"
     9+      LIBS="$LIBS $SOUND_LIBS"
     10    fi
     11 
     12    if test "$found_sound" = "no"; then
  • audio/esound/files/patch-esd.conf

    diff -Naur /usr/src/darwinports/dports/audio/esound/files/patch-esd.conf audio/esound/files/patch-esd.conf
    old new  
     1+++ ../esound-0.2.35.bak/esd.conf       Wed Mar 23 00:04:57 2005
     2--- esd.conf    Wed Mar 23 00:05:01 2005
     3@@ -1,6 +1,6 @@
     4 [esd]
     5 auto_spawn=1
     6 spawn_options=-terminate -nobeeps -as 2
     7-spawn_wait_ms=100
     8+spawn_wait_ms=999
     9 # default options are used in spawned and non-spawned mode
     10 default_options=
  • audio/esound/files/patch-esd_config.c

    diff -Naur /usr/src/darwinports/dports/audio/esound/files/patch-esd_config.c audio/esound/files/patch-esd_config.c
    old new  
     1--- ../esound-0.2.35.bak/esd_config.c   Wed Mar 23 00:04:57 2005
     2+++ esd_config.c        Wed Mar 23 00:05:01 2005
     3@@ -9,7 +9,7 @@
     4 int esd_no_spawn=1; /* If we can't even find the system config file,
     5                       things are screwed up - don't try to make things
     6                       worse. */
     7-int esd_spawn_wait_ms=100; /* Time to wait trying to connect to an
     8+int esd_spawn_wait_ms=999; /* Time to wait trying to connect to an
     9                              autospawned ESD, in milliseconds. */
     10 char esd_spawn_options[LINEBUF_SIZE] = "-terminate -nobeeps -as 2";
     11