ifdef HAVE_WINCE
- all: .dvbpsi .ffmpeg
+ all: .dvbpsi .zlib .ffmpeg
else
# Standard Linux or other UNIX-like systems
- all: .iconv .intl .freetype .fribidi .zlib\
+ all: .iconv .intl .freetype .fribidi .zlib \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
.FLAC .speex .faad .faac .lame .ebml .dts .matroska .ffmpeg .dvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame\
# patch -p 0 < Patches/ffmpeg.patch
ifdef HAVE_WINCE
-.ffmpeg: ffmpeg
+.ffmpeg: ffmpeg .zlib
else
.ffmpeg: ffmpeg .faac .lame
endif
zlib: zlib-$(ZLIB_VERSION).tar.gz
$(EXTRACT_GZ)
+ patch -p 0 < Patches/zlib.patch
.zlib: zlib
- (cd zlib; $(HOSTCC2) ./configure --prefix=$(PREFIX) && make && make install)
+ (cd zlib; $(HOSTCC2) ./configure --prefix=$(PREFIX) && make install)
$(INSTALL_NAME)
touch $@
--- /dev/null
+--- zlib/gzio.c 2005-07-11 21:31:48.000000000 +0100
++++ zlib/gzio.c 2005-11-22 22:26:26.000000000 +0000
+@@ -35,6 +35,10 @@
+ FILE *fdopen(int, const char *);
+ #endif
+
++#ifdef UNDER_CE
++# define fdopen(fd, fmode) 0
++#endif
++
+ #ifndef STDC
+ extern voidp malloc OF((uInt size));
+ extern void free OF((voidpf ptr));