[34602] trunk/dports/audio/mp3info

jmr at macports.org jmr at macports.org
Thu Feb 28 20:07:05 PST 2008


Revision: 34602
          http://trac.macosforge.org/projects/macports/changeset/34602
Author:   jmr at macports.org
Date:     2008-02-28 20:07:04 -0800 (Thu, 28 Feb 2008)

Log Message:
-----------
mp3info: fix building on Leopard. Closes #13455.

Modified Paths:
--------------
    trunk/dports/audio/mp3info/Portfile

Added Paths:
-----------
    trunk/dports/audio/mp3info/files/
    trunk/dports/audio/mp3info/files/patch-mp3tech.c.diff

Modified: trunk/dports/audio/mp3info/Portfile
===================================================================
--- trunk/dports/audio/mp3info/Portfile	2008-02-29 03:37:14 UTC (rev 34601)
+++ trunk/dports/audio/mp3info/Portfile	2008-02-29 04:07:04 UTC (rev 34602)
@@ -23,6 +23,8 @@
 
 depends_lib     port:ncurses
 
+patchfiles      patch-mp3tech.c.diff
+
 configure {
    reinplace -E "s|(LIBS =)|\\1 ${configure.ldflags}|" ${worksrcpath}/Makefile 
 }

Added: trunk/dports/audio/mp3info/files/patch-mp3tech.c.diff
===================================================================
--- trunk/dports/audio/mp3info/files/patch-mp3tech.c.diff	                        (rev 0)
+++ trunk/dports/audio/mp3info/files/patch-mp3tech.c.diff	2008-02-29 04:07:04 UTC (rev 34602)
@@ -0,0 +1,11 @@
+--- ../mp3info-0.8.5a/mp3tech.c	2006-11-05 22:05:30.000000000 -0600
++++ mp3tech.c	2007-11-30 12:28:52.000000000 -0600
+@@ -279,7 +279,7 @@
+ }
+ 
+ int sameConstant(mp3header *h1, mp3header *h2) {
+-    if((*(uint*)h1) == (*(uint*)h2)) return 1;
++    if((*(unsigned int*)h1) == (*(unsigned int*)h2)) return 1;
+ 
+     if((h1->version       == h2->version         ) &&
+        (h1->layer         == h2->layer           ) &&

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080228/6877ec18/attachment.html 


More information about the macports-changes mailing list