pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/sysutils/e2fsprogs

On Wed, Jun 27, 2012 at 08:52:05AM +0000, Benny Siegert wrote:
> Module Name:  pkgsrc
> Committed By: bsiegert
> Date:         Wed Jun 27 08:52:05 UTC 2012
> Modified Files:
>       pkgsrc/sysutils/e2fsprogs: distinfo
> Added Files:
>       pkgsrc/sysutils/e2fsprogs/patches: patch-lib_ext2fs_tdb.c
> Log Message:
> Move #include <sys/types.h> before the #define of _XOPEN_SOURCE so that
> u_short etc. are being defined by it.
> Fixes build on MirBSD. This is a leaf package.

This feels very wrong. _XOPEN_SOURCE and other macros should be defined
before any system headers are included, otherwise the result can be a
pretty horrible mess.


Home | Main Index | Thread Index | Old Index