swfdec broken

Jeremy Messenger mezz7 at cox.net
Fri Apr 2 11:02:46 PST 2004


On Fri, 2 Apr 2004 10:46:40 -0500, Adam Weinberger <adamw at FreeBSD.org> 
wrote:

>>> (04.01.2004 @ 0934 PST): Sven Esbjerg said, in 1.8K: <<
>> cc gnome at freebsd.org
>> - it breaks the gnome media stuff
>>
>> On a FreeBSD 4.9p4 box I get the following when trying to build
>> swfdec-0.2.2_4:
>
> I've gotten the same under -CURRENT.
>
> Just saying.

I don't know C much, but at least it compiles fine here with this patch 
and I don't know if it will work with flash. I don't have any flash here 
and too lazy to find one.

Cheers,
Mezz

> # Adam
>
>
>
>>
>> Making all in player
>> source='swf_play.c' object='swf_play-swf_play.o' libtool=no
>> depfile='.deps/swf_play-swf_play.Po' 
>> tmpdepfile='.deps/swf_play-swf_play.TPo'
>> depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..
>> -I/usr/local/include -I/usr/local/include -I../libswfdec -Wall -Werror
>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>> -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
>> -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0
>> -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0
>> -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include
>> -I/usr/local/include/libart-2.0 -I/usr/local/include/glib-2.0
>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/SDL11
>> -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -pipe 
>> -march=pentiumpro
>> -c -o swf_play-swf_play.o `test -f 'swf_play.c' || echo './'`swf_play.c
>> cc1: warnings being treated as errors
>> swf_play.c: In function `input':
>> swf_play.c:398: warning: passing arg 4 of `g_io_channel_read_chars' from
>> incompatible pointer type
>> *** Error code 1
>>
>> Stop in /usr/ports/graphics/swfdec/work/swfdec-0.2.2/player.
>> *** Error code 1
>>
>> Stop in /usr/ports/graphics/swfdec/work/swfdec-0.2.2.
>> *** Error code 1
>>
>> Stop in /usr/ports/graphics/swfdec/work/swfdec-0.2.2.
>> *** Error code 1
>>
>> Stop in /usr/ports/graphics/swfdec.
>>
>>
>> --
>> Sven Esbjerg
>> System Administrator                                       Sifira
>> Phone: +45 33 44 77 94                    One World - One Mailbox
>> _______________________________________________
>> freebsd-gnome at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
>>> end of "swfdec broken" from Sven Esbjerg <<
>
>
> --
> Adam Weinberger
> adamw at magnesium.net || adamw at FreeBSD.org
> adamw at vectors.cx    ||   adamw at gnome.org
> http://www.vectors.cx
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"



-- 
bsdforums.org 's moderator, mezz.
-------------- next part --------------
diff -ur swfdec.orig/files/patch-player-swf_play.c swfdec/files/patch-player-swf_play.c
--- swfdec.orig/files/patch-player-swf_play.c	Mon Mar 29 03:49:23 2004
+++ swfdec/files/patch-player-swf_play.c	Fri Apr  2 12:59:04 2004
@@ -5,7 +5,7 @@
  {
  	char *data;
 -	int bytes_read;
-+	long bytes_read;
++	gsize bytes_read;
  	GError *error = NULL;
  	int ret;
  


More information about the freebsd-gnome mailing list