ipkg ${FRIBIDI}
ipkg -m acnb ${HICOLOR_ICON_THEME}
ipkg ${GIFLIB}
-ipkg -m noac ${LIBMNG}
+ipkg -m acnb ${LIBMNG} "--disable-static"
ipkg ${FREETYPE} "--disable-static"
ipkg ${FONTCONFIG}
--- /dev/null
+diff -Naur libmng-2.0.2.orig/libmng_types.h libmng-2.0.2.new/libmng_types.h
+--- libmng-2.0.2.orig/libmng_types.h 2013-01-19 22:45:24.000000000 -0500
++++ libmng-2.0.2.new/libmng_types.h 2014-12-23 13:02:47.602116005 -0500
+@@ -204,6 +204,7 @@
+ #define HAVE_BOOLEAN
+ typedef int boolean;
+ #endif
++#include <stdio.h>
+ #include <jpeglib.h>
+ #endif /* MNG_INCLUDE_IJG6B */
+
+++ /dev/null
-#!/bin/bash
-
-hvbuild()
-{
- cd ${LFS_TMP}/${PACKAGE}
- cp makefiles/makefile.linux Makefile
-
- case "${HVL_TARGET}" in
- "x86_64")
- # -fPIC is required for x86_64
- sed -i -e "s!^CFLAGS=!CFLAGS=-fPIC !" Makefile
- ;;
- esac
-
- make prefix=/usr install
-
- # The documentation files are not installed by the installation procedure,
- # so they are copied manually.
- install -v -m644 doc/man/*.3 /usr/share/man/man3
- install -v -m644 doc/man/*.5 /usr/share/man/man5
- install -v -m755 -d /usr/share/doc/${PACKAGE}
- install -v -m644 doc/*.{png,txt} /usr/share/doc/${PACKAGE}
-}