[MPlayer-dev-eng] [PATCH] Darwin dvdkit fixes

Joey Parrish joey at yunamusic.com
Tue Jun 11 07:48:26 CEST 2002


On Tue, Jun 11, 2002 at 03:01:45AM +0200, Klokan Petr Pridal wrote:
> Hello,
> 
> I have applied all patches and there is still bugs in the dvd_reader.c..
> Error messages:
> 
> dvd_reader.c:56: syntax error before `typedef'
> dvd_reader.c:801: `off64_t' undeclared (first use in this function)

Are you certain you applied them all?
The first one should have taken care of the syntax error
by adding that missing semi-colon.  It's a simple thing to fix,
so I'm fairly sure I didn't mess up that particular patch.
I just got access to a Darwin box again, and it's compiling fine
there.  (I'll write again when I've tested dvd ripping.)
Please make sure it's applied before making me feel like
I'm going insane.  :)

--- libmpdvdkit/dvd_reader.c.orig	Sun Jun  9 20:07:39 2002
+++ libmpdvdkit/dvd_reader.c	Sun Jun  9 20:07:35 2002
@@ -47,7 +47,7 @@
 #endif
 
 #if defined(SYS_DARWIN)
-typedef u_int64_t off64_t
+typedef u_int64_t off64_t;
 #define lseek64 lseek
 #define stat64 stat
 #endif


--Joey

-- 

"All you need is love." --Darth Vader



More information about the MPlayer-dev-eng mailing list