diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-03-29 09:49:23 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-03-29 09:49:23 +0000 |
commit | b09a1ecaa4bee8391b4d9349fd4982b262f48e1e (patch) | |
tree | d541308eb8a78f41494340c65c7e1f63c1d75dc6 /graphics/swfdec | |
parent | 881695723109e6cfb62e294832ca0d81123bd820 (diff) |
Fix build on 64bit platforms
Notes
Notes:
svn path=/head/; revision=105599
Diffstat (limited to 'graphics/swfdec')
-rw-r--r-- | graphics/swfdec/Makefile | 4 | ||||
-rw-r--r-- | graphics/swfdec/files/patch-player-swf_play.c | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/graphics/swfdec/Makefile b/graphics/swfdec/Makefile index 477096e68ffb..d2b7a3b0a11b 100644 --- a/graphics/swfdec/Makefile +++ b/graphics/swfdec/Makefile @@ -32,10 +32,6 @@ LDFLAGS= -L${LOCALBASE}/lib .include <bsd.port.pre.mk> -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" -.endif - post-patch: @${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG:T}|g" ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/libswfdec/jpeg/sl_types.h diff --git a/graphics/swfdec/files/patch-player-swf_play.c b/graphics/swfdec/files/patch-player-swf_play.c new file mode 100644 index 000000000000..bb284c97e4d3 --- /dev/null +++ b/graphics/swfdec/files/patch-player-swf_play.c @@ -0,0 +1,11 @@ +--- player/swf_play.c.orig Mon Mar 29 11:43:50 2004 ++++ player/swf_play.c Mon Mar 29 11:44:14 2004 +@@ -390,7 +390,7 @@ + static gboolean input(GIOChannel *chan, GIOCondition cond, gpointer ignored) + { + char *data; +- int bytes_read; ++ long bytes_read; + GError *error = NULL; + int ret; + |