[Top][All Lists]

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

ncurses specify -DXOPEN_SOURCE values in its .pc files, break third-part

From: Francois Tigeot
Subject: ncurses specify -DXOPEN_SOURCE values in its .pc files, break third-party applications
Date: Sat, 21 Oct 2017 13:23:40 +0200
User-agent: Mutt/1.9.1 (2017-09-22)


I recently tried to build a recent version of qemu on a DragonFly system.
The compilation failed due to a missing O_CLOEXEC definition.

This was not very surprising given qemu used -D_POSIX_C_SOURCE=200112L
-D_XOPEN_SOURCE=600 in its compilation flags, preventing features more
recent than the old X/Open 6 standard from being made available.

Now, qemu uses ncurses and these flags came from the ncurses .pc pkgconfig

The attached configure patch fixed the issue for me.

Francois Tigeot

Attachment: patch-configure.txt
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]