so I informed the maintainers,
got the attached reply from Robert Woodcock,
confirmed the patch is working,
I assume we will find it back in fink soon.

----- Forwarded message from Robert Woodcock <> -----

From: Robert Woodcock <>
Date: Sun, 26 Apr 2009 19:46:54 -0700
Subject: Re: [Fwd: Re: [Fink-beginners] ABCDE and FreeDB.org]
To: Mario Frasca <>
Cc: Evan <>
X-Spam-Status: No, score=0.0 required=3.5 tests=none autolearn=no version=3.2.3

On Sat, Apr 25, 2009 at 06:26:30AM +0200, Mario Frasca wrote:
» Hi Robert and Evan,
»
» found your names/email address in the README for cd-discid and the .c  
» file, do you still know what that is and how it worked?
»
» would you mind having a look at this thread?
» http://thread.gmane.org/gmane.os.macosx.fink.beginners/19669
»
» thanks a lot!
» Mario

Someone else submitted this patch to me quite a while ago - I haven't been
able to test it because I don't have access to an Intel Mac. It's quite a
bit shorter than the patch you posted to the mailing list. Could you let me
know if it works for you?

--- cd-discid-0.9/cd-discid.c   2003-12-15 15:55:00.000000000 -0800
+++ cd-discid-0.10/cd-discid.c  2007-12-20 16:30:50.000000000 -0800
@@ -188,6 +188,12 @@
                        fprintf(stderr, "cd-discid: %s: ", argv[1]);
                        perror("DKIOCCDREADTRACKINFO");
                }
+
+#if defined(__LITTLE_ENDIAN__)
+               /* endian fixups for Intel Macs */
+               TocEntry[i].trackStartAddress =
+ntohl(TocEntry[i].trackStartAddress);
+               TocEntry[i].trackSize = ntohl(TocEntry[i].trackSize);
+#endif
        }

        /* MacOS X on G5-based systems does not report valid info for

----- End forwarded message -----



------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to