From owner-freebsd-gnome@FreeBSD.ORG Fri Apr 2 11:02:46 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7142616A4CE; Fri, 2 Apr 2004 11:02:46 -0800 (PST) Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E45EB43D2F; Fri, 2 Apr 2004 11:02:45 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao06.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040402190245.IQVV18400.lakemtao06.cox.net@mezz.mezzweb.com>; Fri, 2 Apr 2004 14:02:45 -0500 To: Adam Weinberger References: <20040401143456.GA34900@sifira.dk> <20040402154640.GM12801@toxic.magnesium.net> Message-ID: From: Jeremy Messenger Content-Type: multipart/mixed; boundary=----------FDQhUdTmHLB5LQWsi2wm2o MIME-Version: 1.0 Date: Fri, 02 Apr 2004 13:03:19 -0600 In-Reply-To: <20040402154640.GM12801@toxic.magnesium.net> User-Agent: Opera7.23/Linux M2 build 518 cc: gnome@freebsd.org cc: Sven Esbjerg Subject: Re: swfdec broken X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 19:02:46 -0000 ------------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 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--