[swfmill] Fwd: PATCH : swfmill wont compile on modern GCC

Daniel Turing mail at danielturing.com
Wed Nov 18 04:45:45 PST 2009


hi list,

unsure if this might be patched in the lp version already...

when is 0.3 coming? ;P

-dan

---------- Forwarded message ----------
From: Petit Eric <surfzoid at gmail.com>
Date: Mon, Nov 16, 2009 at 20:23
Subject: PATCH : swfmill wont compile on modern GCC
To: dan at iterative.org


For version http://swfmill.org/releases/swfmill-0.2.12.tar.gz
In files swft_css.cpp and swft_import_mp3.cpp you need to add :
#include <cstring>
In file swft_import.cpp replace :

       // figure basename (filename without path)
       b = strrchr( filename, '/' );
by (line 13)
       // figure basename (filename without path)
       b = const_cast<char *>(strrchr( filename, '/' ));

--
 Cordially.

 Small Eric Quotations of the days:
 ---------------------------------------------------------------------------
 I have no special talents. I am only passionately curious



-- 
Daniel Fischer
dfischer at fischer-interaktiva.de
http://fischer-interaktiva.de



More information about the swfmill mailing list