- Fix build on -CURRENT.

PR:		ports/133598
Submitted by:	Kai Wang <kaiwang27@gmail.com>
Approved by:	Takeshi MUTOH <mutoh@openedu.org> (maintainer)
This commit is contained in:
Wesley Shields 2009-04-22 20:55:48 +00:00
parent efd9fc36f8
commit eeddf07e6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=232517
4 changed files with 22 additions and 22 deletions

View file

@ -0,0 +1,11 @@
--- platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3io.h.orig 2006-04-15 01:17:20.000000000 +0200
+++ platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3io.h 2009-04-11 14:54:38.000000000 +0200
@@ -35,7 +35,7 @@
#endif
#define mpeg3io_total_bytes(fs) (((mpeg3_fs_t *)(fs))->total_bytes)
-inline int mpeg3io_fgetc(mpeg3_fs_t *fs);
+int mpeg3io_fgetc(mpeg3_fs_t *fs);
static inline unsigned int mpeg3io_read_int32(mpeg3_fs_t *fs)
{

View file

@ -1,11 +0,0 @@
--- platforms/unix/plugins/SqueakFFIPrims/Makefile.in.orig Sun Mar 20 05:38:18 2005
+++ platforms/unix/plugins/SqueakFFIPrims/Makefile.in Sun Feb 26 00:08:03 2006
@@ -14,7 +14,7 @@
XINCLUDES = [includes]
$(TARGET) : $(OBJS) Makefile
- $(LINK) $(TARGET) $(OBJS)
+ $(LINK) $(TARGET) $(OBJS) -lffi
$(RANLIB) $(TARGET)
[make_targets]

View file

@ -0,0 +1,11 @@
--- platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3io.h.orig 2006-04-15 01:17:20.000000000 +0200
+++ platforms/Cross/plugins/Mpeg3Plugin/libmpeg/mpeg3io.h 2009-04-11 14:54:38.000000000 +0200
@@ -35,7 +35,7 @@
#endif
#define mpeg3io_total_bytes(fs) (((mpeg3_fs_t *)(fs))->total_bytes)
-inline int mpeg3io_fgetc(mpeg3_fs_t *fs);
+int mpeg3io_fgetc(mpeg3_fs_t *fs);
static inline unsigned int mpeg3io_read_int32(mpeg3_fs_t *fs)
{

View file

@ -1,11 +0,0 @@
--- platforms/unix/plugins/SqueakFFIPrims/Makefile.in.orig Sun Mar 20 05:38:18 2005
+++ platforms/unix/plugins/SqueakFFIPrims/Makefile.in Sun Feb 26 00:08:03 2006
@@ -14,7 +14,7 @@
XINCLUDES = [includes]
$(TARGET) : $(OBJS) Makefile
- $(LINK) $(TARGET) $(OBJS)
+ $(LINK) $(TARGET) $(OBJS) -lffi
$(RANLIB) $(TARGET)
[make_targets]