Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8488

Modified Files:
        madplay.info madplay.patch 
Log Message:
Fixed endian issue on Intel Macs. Actually plays now!

Index: madplay.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sound/madplay.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- madplay.patch       20 Jan 2006 20:30:47 -0000      1.1
+++ madplay.patch       3 Mar 2006 16:02:19 -0000       1.2
@@ -9,6 +9,19 @@
  {
    if (MPWaitOnSemaphore(buffer->semaphore, kDurationForever) != noErr) {
      audio_error = _("MPWaitOnSemaphore() failed");
+@@ -234,7 +234,11 @@
+     break;
+ 
+   case 16:
+-    audio_pcm = audio_pcm_s16be;
++    #ifdef __BIG_ENDIAN__
++    audio_pcm = audio_pcm_s16be;
++    #else
++    audio_pcm = audio_pcm_s16le;
++    #endif
+     break;
+   }
+ 
 @@ -263,7 +263,7 @@
    /* wait for block to finish playing */
  

Index: madplay.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sound/madplay.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- madplay.info        3 Mar 2006 14:13:41 -0000       1.2
+++ madplay.info        3 Mar 2006 16:02:19 -0000       1.3
@@ -1,6 +1,6 @@
 Package: madplay
 Version: 0.15.2b
-Revision: 3
+Revision: 4
 Depends: libmad-shlibs, libid3tag-shlibs
 BuildDepends: libmad, libid3tag, gettext-dev, gettext-bin, gettext-tools, 
libiconv-dev
 Replaces: mad-bin
@@ -24,6 +24,8 @@
 <<
 DescPackaging: <<
  Disabled ESD support, to reduce the number of dependencies.
+ 
+ Added patches to work on Intel Macs. --danielj7
 <<
 License: GPL
 Homepage: http://www.mars.org/home/rob/proj/mpeg/



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to