--- ./buildme.sh +++ ./buildme.sh @@ -246,14 +246,6 @@ fi if [ "$OS" = "Linux" ]; then - #for i in libgif libz libgd ; do - for i in libz ; do - ldconfig -p | grep "${i}.so" > /dev/null - if [ $? -ne 0 ] ; then - echo "$i not found - please install it" - exit 1 - fi - done for hdr in "zlib.h"; do hdr_found=$(find /usr/include -name "$hdr"); if [ ! "$hdr_found" ]; then @@ -1327,6 +1319,7 @@ # build giflib tar_wrapper zxf giflib-4.1.6.tar.gz cd giflib-4.1.6 + patch -p0 < ../../../giflib.patch . ../update-config.sh CFLAGS="$FLAGS $OSX_ARCH $OSX_FLAGS -O3" \ LDFLAGS="$FLAGS $OSX_ARCH $OSX_FLAGS -O3" \ @@ -1354,6 +1347,7 @@ # build ffmpeg, enabling only the things libmediascan uses tar_wrapper jxf ffmpeg-0.8.4.tar.bz2 cd ffmpeg-0.8.4 + patch -p0 < ../../../ffmpeg-dict.c.patch . ../update-config.sh if [ "$MACHINE" = "padre" ]; then