mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
- Make existing patches apply cleanly Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000 Submitted by: Matthias Wolf MFH: 2019Q2
24 lines
652 B
Text
24 lines
652 B
Text
--- base/third_party/libevent/BUILD.gn.orig 2019-03-11 22:00:51 UTC
|
|
+++ base/third_party/libevent/BUILD.gn
|
|
@@ -43,13 +43,20 @@ static_library("libevent") {
|
|
"mac/event-config.h",
|
|
]
|
|
include_dirs = [ "mac" ]
|
|
- } else if (is_linux) {
|
|
+ } else if (is_linux && !is_bsd) {
|
|
sources += [
|
|
"epoll.c",
|
|
"linux/config.h",
|
|
"linux/event-config.h",
|
|
]
|
|
include_dirs = [ "linux" ]
|
|
+ } else if (is_bsd) {
|
|
+ sources += [
|
|
+ "kqueue.c",
|
|
+ "freebsd/config.h",
|
|
+ "freebsd/event-config.h",
|
|
+ ]
|
|
+ include_dirs = [ "freebsd" ]
|
|
} else if (is_android) {
|
|
sources += [
|
|
"android/config.h",
|