Package: libmng Severity: important Tags: patch The file lcms.h doesn't get included because the GNU platform is not supported and therefore it tries to include lcms/lcms.h which doesn't exist.
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libmng\" -DVERSION=\"1.0.8\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPROTOTYPES=1 -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_DLFCN_H=1 -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DMNG_BUILD_SO=1 -DMNG_SUPPORT_FULL=1 -DMNG_SUPPORT_READ=1 -DMNG_SUPPORT_WRITE=1 -DMNG_SUPPORT_DISPLAY=1 -DMNG_SUPPORT_DYNAMICMNG=1 -DMNG_ACCESS_CHUNKS=1 -DMNG_STORE_CHUNKS=1 -DMNG_ERROR_TELLTALE=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBLCMS=1 -DMNG_FULL_CMS=1 -I. -I. -I/usr/include -Wall -O2 -funroll-loops -fno-exceptions -pipe -c libmng_callback_xs.c -fPIC -DPIC -o .libs/libmng_callback_xs.o In file included from libmng.h:362, from libmng_callback_xs.c:57: libmng_types.h:173:23: error: lcms/lcms.h: No such file or directory The full build log can be found at: http://www.physicman.net/hurd/buildlogs/libmng_1.0.8-1_20060228-2008 The attached patch adds support for hurd-i386 by adding a definition for the platform. Best regards, Chris -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: hurd-i386 (i686-AT386) Shell: /bin/sh linked to /bin/bash Kernel: GNU 0.3 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
--- libmng-1.0.8.orig/libmng_types.h 2006-02-28 21:43:16.000000000 +0100 +++ libmng-1.0.8/libmng_types.h 2006-02-28 21:32:51.000000000 +0100 @@ -167,7 +167,7 @@ #ifndef ZLIB_DLL #undef FAR #endif -#if defined(WIN32) || defined(linux) /* different header locations */ +#if defined(WIN32) || defined(linux) || defined(__GNU__) /* different header locations */ #include "lcms.h" #else #include "lcms/lcms.h"