minix/tools
Thomas Veerman 10b559663e buildsystem: fix build errors for x86 on OSX
Define _NLS_PRIVATE in tools/llvm-tblgen/Makefile so that
<tools/compat/nl_types.h> will pull in <include/nl_types.h>. This is
necessary as Clang's c++/v1/locale implementation contains references
to catopen and other catalog symbols that aren't defined anywhere.
Moreover, the compiler will complain about NL_CAT_LOCALE not being
declared. The compat nl_types.h fixes these discrepancies.

However, <nl_types.h> uses __format_arg to add function attributes to
declarations. On NetBSD __format_arg(fmtarg) is defined by
<sys/cdefs.h> to be __attribute__((__format_arg__ (fmtarg))) for
briefness, but other platforms don't do that. Consequently, the build
will fail on catopen and friends function declarations because the
compiler doesn't know how to handle __format_arg(fmtarg). A fixup to
<tools/compat/nl_types.h> takes care of this, but it won't win any
beauty contest.

Change-Id: Ic4426eca8385aeef858e60304d6e8c06cd497d95
Signed-off-by: Thomas Veerman <tveerman@gmail.com>
2014-11-04 11:00:29 +01:00
..
awk Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
binstall Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
binutils LLVM Minix changes 2014-07-28 17:05:59 +02:00
cat Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
cksum Importing cksum (needed by NetBSD build system) 2012-10-23 12:02:51 +02:00
compat buildsystem: fix build errors for x86 on OSX 2014-11-04 11:00:29 +01:00
file Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
gcc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
genassym Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
gmake Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
gmp Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
host-mkdep Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
installboot Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
join Replacing join with NetBSD join 2012-12-07 13:58:07 +01:00
lex Removing forgotten, useless, renegade defines 2013-02-27 10:54:04 +01:00
llvm Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
llvm-clang Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
llvm-clang-tblgen Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
llvm-include Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
llvm-lib LLVM Minix changes 2014-07-28 17:05:59 +02:00
llvm-librt Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
llvm-lld Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
llvm-mcld Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
llvm-tblgen buildsystem: fix build errors for x86 on OSX 2014-11-04 11:00:29 +01:00
lorder Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
m4 Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
make Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
makewhatis Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
mandoc Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
mkdep Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
mkfs.mfs New sources layout 2014-07-31 16:00:30 +02:00
mknod Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
mkproto mkfs, mkproto: minor improvements 2012-11-07 23:15:52 +01:00
mktemp Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
mpc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
mpfr Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
mtree Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
nbperf Importing nbperf 2012-12-07 13:58:07 +01:00
partition New sources layout 2014-07-31 16:00:30 +02:00
pax Upgrading pax. 2012-10-24 13:42:44 +02:00
pwd_mkdb Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
sed Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
stat Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
strfile Importing games/fortune 2014-07-28 17:05:16 +02:00
texinfo Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
tic Updating libcurses, libterminfo and terminfo. 2013-01-14 11:36:26 +01:00
toproto New sources layout 2014-07-31 16:00:30 +02:00
tsort Importing NetBSD tsort 2012-12-07 13:58:07 +01:00
writeisofs New sources layout 2014-07-31 16:00:30 +02:00
yacc Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
zic Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
headerlist Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
Makefile Importing games/fortune 2014-07-28 17:05:16 +02:00
Makefile.gmakehost Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
Makefile.gnuhost patch(1) problems workaround 2014-07-28 17:05:20 +02:00
Makefile.gnuwrap Import NetBSD tools and build.sh 2012-06-18 10:54:51 +00:00
Makefile.host remove libcompat_minix as library 2014-08-28 18:49:13 +02:00
Makefile.nbincludes Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
mkheaderlist.sh Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00