Hi list,
Please find attached a patch to fix compilation on at least Solaris and
Darwin of dpkg-1.15.8.3. Both platforms do not have _POSIX_MAX_PATH
defined, unless limits.h is included. Further, linking fails, because
of missing libintl_* symbols, which is due to a missing -lintl on these
platforms which get it from gettext, as it is not in their libc (like
GNU libc).
On a sidenote, compilation on Darwin fails early in the process like
this:
cc1: error: unrecognized command line option "-Wvla"
You may want to check the WFLAGS if they are supported. However, it is
fine for me just to use --disable-compiler-warnings.
Regards,
--
Fabian Groffen
Gentoo on a different level