Hi.

I uploaded a new version of gimagereader yesterday and it FTBFS[1] on kfreebsd
as sys/prctl.h is missing. The function prctl() is used here[2]. Can you give me
some hints how to fix this? Searching on the internet brought some insight but
didn't help me to propose a patch for upstream.

[2]
https://sources.debian.net/src/gimagereader/3.0.1-1/gtk/src/MainWindow.cc/#L70

It seems be linux specific, not unix specific.
So replace "#ifdef G_OS_UNIX" to
something like "#ifdef G_OS_LINUX" (given it exists),
or to "#ifdef __linux__"
or to "#ifdef PR_SET_PTRACER" otherwise.

Petr


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/alpine.lnx.2.00.1504271520570.20...@contest.felk.cvut.cz

Reply via email to