Current-Users archive

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

Re: xorg build fails



In article <23FF7689-45E6-4D29-BE49-7BB3E23A0D19%NetBSD.org@localhost>,
Adam CiarciÅ ski  <adam%NetBSD.org@localhost> wrote:
>Hello,
>
>My current build keeps failing there:
>
>[...]
>/dist/xsrc/external/mit/fontconfig/dist/src/fccache.c:301:11: warning:
>implicit declaration of function '__UNVOLATILE' is invalid in C99
>[-Wimplicit-function-declaration]
>    free (__UNVOLATILE(lock));
>          ^
>/dist/xsrc/external/mit/fontconfig/dist/src/fccache.c:301:11: warning:
>incompatible integer to pointer conversion passing 'int' to parameter of
>type 'void *' [-Wint-conversion]
>    free (__UNVOLATILE(lock));
>          ^~~~~~~~~~~~~~~~~~
>/usr/include/stdlib.h:143:18: note: passing argument to parameter here
>void     free(void *);
>                    ^
>2 warnings generated.
>Undefined symbols for architecture x86_64:
>  "___UNVOLATILE", referenced from:
>      _FcCacheFini in fccache.lo
>ld: symbol(s) not found for architecture x86_64
>[...]
>
>This is 7.99.4 on Darwin with clang.
>Please, fix. :-)

It should have been fixed in src/tools/compat/compat_defs.h:1.100

christos



Home | Main Index | Thread Index | Old Index