Commit 9894f3aa authored by Jean-Paul Saman's avatar Jean-Paul Saman

Compile fixes:

- libiconv: removed CPPFLAGS="-D"-Dssize_t=long" needed for building on FC 5
- live555 : add include path -I${PREFIX}/include for iconv.h
parent bd6db81b
...@@ -139,7 +139,7 @@ echo "LD = ${LD}" >> config.mak ...@@ -139,7 +139,7 @@ echo "LD = ${LD}" >> config.mak
echo "RANLIB = ${RANLIB}" >> config.mak echo "RANLIB = ${RANLIB}" >> config.mak
echo "AR = ${AR}" >> config.mak echo "AR = ${AR}" >> config.mak
echo "EXTRA_CFLAGS = ${EXTRA_CFLAGS}" >> config.mak echo "EXTRA_CFLAGS = ${EXTRA_CFLAGS}" >> config.mak
echo "EXTRA_CPPFLAGS = ${EXTRA_CPPFLAGS}" >> config.mak echo "EXTRA_CPPFLAGS = ${EXTRA_CPPFLAGS} -I${PREFIX}/include" >> config.mak
echo "EXTRA_LDFLAGS = ${EXTRA_LDFLAGS}" >> config.mak echo "EXTRA_LDFLAGS = ${EXTRA_LDFLAGS}" >> config.mak
echo "EXTRA_PATH = ${EXTRA_PATH}" >> config.mak echo "EXTRA_PATH = ${EXTRA_PATH}" >> config.mak
......
...@@ -168,8 +168,8 @@ else ...@@ -168,8 +168,8 @@ else
ifdef HAVE_WINCE ifdef HAVE_WINCE
all: .dvbpsi .zlib .ffmpeg .ogg .tremor .faad all: .dvbpsi .zlib .ffmpeg .ogg .tremor .faad
else
else
# Standard Linux or other UNIX-like systems # 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 \ .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
...@@ -429,7 +429,7 @@ ifdef HAVE_DARWIN_OS ...@@ -429,7 +429,7 @@ ifdef HAVE_DARWIN_OS
touch $@ touch $@
else else
.iconv: libiconv .iconv: libiconv
(cd libiconv; CPPFLAGS="-Dssize_t=long" $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-nls && make && make install) (cd libiconv; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-nls && make && make install)
$(INSTALL_NAME) $(INSTALL_NAME)
touch $@ touch $@
endif endif
...@@ -1052,7 +1052,8 @@ ifdef HAVE_DARWIN_OS ...@@ -1052,7 +1052,8 @@ ifdef HAVE_DARWIN_OS
(cd $<; sed -e 's%EXTRA_CFLAGS%$(EXTRA_CFLAGS)%' -e 's%EXTRA_LDFLAGS%$(EXTRA_LDFLAGS)%' -i.orig config.macosx) (cd $<; sed -e 's%EXTRA_CFLAGS%$(EXTRA_CFLAGS)%' -e 's%EXTRA_LDFLAGS%$(EXTRA_LDFLAGS)%' -i.orig config.macosx)
(cd $<; ./genMakefiles macosx && make) (cd $<; ./genMakefiles macosx && make)
else else
(cd $<;./genMakefiles linux && make $(HOSTCC)) (cd $<; if [ ! -f groupsock/Makefile.head.orig ] then ; sed -e 's/=/= $$\(EXTRA_CPPFLAGS\)/' -e 's%EXTRA_CPPFLAGS%$(EXTRA_CPPFLAGS)%' -e 's/$$\(//' -e 's/\)//' -i.orig groupsock/Makefile.head fi )
(cd $<; ./genMakefiles && make $(HOSTCC))
endif endif
endif endif
endif endif
...@@ -1288,6 +1289,7 @@ wxWidgets-$(WXWIDGETS_VERSION).tar.gz: ...@@ -1288,6 +1289,7 @@ wxWidgets-$(WXWIDGETS_VERSION).tar.gz:
wxwidgets: wxWidgets-$(WXWIDGETS_VERSION).tar.gz wxwidgets: wxWidgets-$(WXWIDGETS_VERSION).tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
(cd wxwidgets; patch -p0 < ../Patches/wxwidgets_uri.patch)
# (cd wxwidgets; patch -p1 <../Patches/wxMSW-win32.patch) # (cd wxwidgets; patch -p1 <../Patches/wxMSW-win32.patch)
.wxwidgets: wxwidgets .wxwidgets: wxwidgets
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment