Hi!

On Wed, Apr 16, 2008 at 4:55 PM, Ganael LAPLANCHE
<[EMAIL PROTECTED]> wrote:
>  > 1) Did your mplayer work with the previous version of directfb?
>  No, since the previous version of directfb didn't install neither sdl nor x11
>  drivers.

The sign of improvement! :)

>  > links doesn't work with directfb on my machine, so I'll investigate
>  > the reason pretty soon. And I think it will good to fix mplayer and
>  > add directfb flags to the ports.
>  >
>  > >  % env DFBARGS=system=sdl ./mplayer -vo directfb test.avi
>  >
>  > Try to run it with system=x11 please and tell what happens.
>
>  It produces the same error as previously reported : "No system found!". Very
>  strange, but applying those two patches allows the libs to be found and 
> mplayer
>  to (nearly) start :
>
>  --- lib/direct/interface.c.orig 2008-04-12 13:25:57.542006795 +0200
>  +++ lib/direct/interface.c      2008-04-12 13:26:27.732927708 +0200
>  @@ -164,7 +164,7 @@
>       /*
>        * Iterate directory.
>        */
>  -     while (readdir_r( dir, &tmp, &entry ) == 0 && entry) {
>  +     while (entry = readdir( dir )) {
>            void *handle = NULL;
>            char  buf[4096];
>
>  --- lib/direct/modules.c.orig   2008-04-12 13:25:45.166038341 +0200
>  +++ lib/direct/modules.c        2008-04-12 13:27:56.054698492 +0200
>  @@ -158,7 +158,7 @@
>            return 0;
>       }
>
>  -     while (readdir_r( dir, &tmp, &entry ) == 0 && entry) {
>  +     while (entry = readdir( dir )) {
>            void              *handle;
>            DirectModuleEntry *module;
>            int                entry_len = strlen(entry->d_name);
>

I'll try these patches on my machine. IMHO, they may be put in the
ports, but should also be sent to the developers of directfb for
discussion.


-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: [EMAIL PROTECTED]
privat: [EMAIL PROTECTED]
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to