Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Apr 2004 13:03:19 -0600
From:      Jeremy Messenger <mezz7@cox.net>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        Sven Esbjerg <esbjerg@sifira.dk>
Subject:   Re: swfdec broken
Message-ID:  <opr5ue7tmj8ckrg5@smtp.central.cox.net>
In-Reply-To: <20040402154640.GM12801@toxic.magnesium.net>
References:  <20040401143456.GA34900@sifira.dk> <20040402154640.GM12801@toxic.magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
------------FDQhUdTmHLB5LQWsi2wm2o
Content-Type: text/plain; format=flowed; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

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

>>> (04.01.2004 @ 0934 PST): Sven Esbjerg said, in 1.8K: <<
>> cc gnome@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>>> end of "swfdec broken" from Sven Esbjerg <<
>
>
> --
> Adam Weinberger
> adamw@magnesium.net || adamw@FreeBSD.org
> adamw@vectors.cx    ||   adamw@gnome.org
> http://www.vectors.cx
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"



-- 
bsdforums.org 's moderator, mezz.
------------FDQhUdTmHLB5LQWsi2wm2o
Content-Disposition: attachment; filename=swfdec.diff
Content-Type: text/plain; name=swfdec.diff
Content-Transfer-Encoding: 8bit

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;
  

------------FDQhUdTmHLB5LQWsi2wm2o--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr5ue7tmj8ckrg5>