pkgsrc-Users archive

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

Re: emulators/wine build failure



On Fri, 31 Jul 2026, Martin Husemann wrote:

On Thu, Jul 30, 2026 at 04:40:53PM -0700, Paul Goyette wrote:

On host netbsd-11.99.6 (amd64)

Does it define anything special to restrict header namespace pollution?

I have no idea.  It's a default build, and it worked recently
( last week or two)




The typical things to look for are:

	_POSIX_C_SOURCE
	_XOPEN_SOURCE

(assuming it is not just missing a #include <signal.h>)

See sys/signal.h:

#if (_POSIX_C_SOURCE - 0) >= 199309L || (_XOPEN_SOURCE - 0) >= 500 || \
   defined(_NETBSD_SOURCE)
#include <sys/siginfo.h>
#endif

#if (defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \
   (_XOPEN_SOURCE - 0) >= 500 || defined(_NETBSD_SOURCE)
#include <sys/ucontext.h>
#endif /* _XOPEN_SOURCE_EXTENDED || _XOPEN_SOURCE >= 500 || _NETBSD_SOURCE */


Martin

!DSPAM:6a6c3b7d21911729214198!



+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index