genode/libports/src/lib/libc/patches/README
Josef Söntgen 8c306bde67 libports: add libc's rpc framework headers
Certain rpc headers are needed for compiling getaddrinfo.c. Unfortunatly
that means we have to generate _a few_ header files which we do when we
prepare the libc.

These header files need to be created before the symlinks. Also, some of
these header files depend on a patch. Therefore we apply the patches
first, generate the header files and in the end we create the symlinks.

Fixes #296.
2012-08-09 11:09:42 +02:00

29 lines
932 B
Plaintext

Manual modifications
####################
:'src/lib/include/rpcsvc/nis.x':
CPP seems not to be able to parse splitted lines and so fails with
'definition keyword expected' otherwise (though that's just a rough guess).
:'src/lib/libc/stdlib/malloc.c':
Undefine 'MALLOC_DSS' to avoid the usage of sbrk.
! //#define MALLOC_DSS
:'src/lib/libc/stdio/vfwprintf.c':
Fix warnings caused by conversions between (char *) and (wchar_t *).
This is just a cosmetic fix.
:'src/lib/libc/gen/_pthread_stubs.c':
Prevent definition of symbol 'pthread_cancel'. This symbol is provided by the
C++ support library as weak symbol. By redefining this symbol as non-weak in
the libc, the C++ support library would use the libc dummy stub instead its
own implementation, causing problems with handling exceptions.
:'src/lib/libc/resolv/res_send.c':
Disable usage of kqueue and fix building libresolv when kqueue is disabled.