Submitted by: clutton <clutton@zoho.com> Reviewed by: cpm, rene Obtained from: https://github.com/paranormal/ MFH: 2016Q4 Security: https://vuxml.freebsd.org/freebsd/769ba449-79e1-11e6-bf75-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/653a8059-7c49-11e6-9242-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9c135c7e-9fa4-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9118961b-9fa5-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/ae9cb9b8-a203-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/a3473f5a-a739-11e6-afaa-e8e0b747a45a.html Differential Revision: https://reviews.freebsd.org/D8517
15 lines
490 B
Text
15 lines
490 B
Text
--- third_party/usrsctp/BUILD.gn.orig 2016-08-03 22:02:40.000000000 +0300
|
|
+++ third_party/usrsctp/BUILD.gn 2016-09-20 02:42:29.328962000 +0300
|
|
@@ -112,6 +112,12 @@
|
|
"__Userspace_os_Linux",
|
|
"_GNU_SOURCE",
|
|
]
|
|
+ } else if (is_bsd) {
|
|
+ # For now, freebsd hard coding, differentiate different bsd is a plan
|
|
+ defines += [
|
|
+ "__Userspace_os_FreeBSD",
|
|
+ ]
|
|
+ cflags += [ "-U__FreeBSD__" ]
|
|
} else if (is_mac || is_ios) {
|
|
defines += [
|
|
"HAVE_SA_LEN",
|