diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2018-03-02 22:32:53 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2018-03-02 22:32:53 +0000 |
commit | 6d0fe480a87fee57d9f159b249bf385135d15bef (patch) | |
tree | 7c6b23b9ea69912cc587a70792d8f6f0a1f3a8ff /usr.bin/svn | |
parent | ac3ef06af950c2d27a3d4f1bd57451709e490ee4 (diff) | |
download | src-6d0fe480a87fee57d9f159b249bf385135d15bef.tar.gz src-6d0fe480a87fee57d9f159b249bf385135d15bef.zip |
Don't declare union semun in userspace unless _WANT_SEMUN is defined.
POSIX explicitly states that the application must declare union semun.
This makes no sense, but it is what it is. This brings us into line
with Linux, MacOS/Darwin, and NetBSD.
In a ports exp-run a moderate number of ports fail due to a lack of
approprate autotools-like discovery mechanisms or local patches. A
commit to address them will follow shortly.
PR: 224300, 224443 (exp-run)
Reviewed by: emaste, jhb, kib
Exp-run by: antoine
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14492
Notes
Notes:
svn path=/head/; revision=330299
Diffstat (limited to 'usr.bin/svn')
-rw-r--r-- | usr.bin/svn/lib/libapr/apr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/svn/lib/libapr/apr.h b/usr.bin/svn/lib/libapr/apr.h index 58551476ec91..fbad4469a417 100644 --- a/usr.bin/svn/lib/libapr/apr.h +++ b/usr.bin/svn/lib/libapr/apr.h @@ -261,7 +261,7 @@ extern "C" { #define APR_HAVE_STRSTR 1 #define APR_HAVE_MEMCHR 1 #define APR_HAVE_STRUCT_RLIMIT 1 -#define APR_HAVE_UNION_SEMUN 1 +#define APR_HAVE_UNION_SEMUN 0 #define APR_HAVE_SCTP 1 #define APR_HAVE_IOVEC 1 |