summaryrefslogtreecommitdiffstats
path: root/ipc/chromium/src/third_party/libevent/patches/linux-no-sysctl.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /ipc/chromium/src/third_party/libevent/patches/linux-no-sysctl.patch
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ipc/chromium/src/third_party/libevent/patches/linux-no-sysctl.patch')
-rw-r--r--ipc/chromium/src/third_party/libevent/patches/linux-no-sysctl.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/ipc/chromium/src/third_party/libevent/patches/linux-no-sysctl.patch b/ipc/chromium/src/third_party/libevent/patches/linux-no-sysctl.patch
new file mode 100644
index 0000000000..a47132fb92
--- /dev/null
+++ b/ipc/chromium/src/third_party/libevent/patches/linux-no-sysctl.patch
@@ -0,0 +1,41 @@
+diff --git a/ipc/chromium/src/third_party/libevent/linux/event2/event-config.h b/ipc/chromium/src/third_party/libevent/linux/event2/event-config.h
+--- a/ipc/chromium/src/third_party/libevent/linux/event2/event-config.h
++++ b/ipc/chromium/src/third_party/libevent/linux/event2/event-config.h
+@@ -290,17 +290,17 @@
+
+ /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
+ /* #undef EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */
+
+ /* Define to 1 if the system has the type `struct so_linger'. */
+ #define EVENT__HAVE_STRUCT_SO_LINGER 1
+
+ /* Define to 1 if you have the `sysctl' function. */
+-#define EVENT__HAVE_SYSCTL 1
++/* #undef EVENT__HAVE_SYSCTL */
+
+ /* Define to 1 if you have the <sys/devpoll.h> header file. */
+ /* #undef EVENT__HAVE_SYS_DEVPOLL_H */
+
+ /* Define to 1 if you have the <sys/epoll.h> header file. */
+ #define EVENT__HAVE_SYS_EPOLL_H 1
+
+ /* Define to 1 if you have the <sys/eventfd.h> header file. */
+@@ -332,17 +332,17 @@
+
+ /* Define to 1 if you have the <sys/socket.h> header file. */
+ #define EVENT__HAVE_SYS_SOCKET_H 1
+
+ /* Define to 1 if you have the <sys/stat.h> header file. */
+ #define EVENT__HAVE_SYS_STAT_H 1
+
+ /* Define to 1 if you have the <sys/sysctl.h> header file. */
+-#define EVENT__HAVE_SYS_SYSCTL_H 1
++/* #undef EVENT__HAVE_SYS_SYSCTL_H */
+
+ /* Define to 1 if you have the <sys/timerfd.h> header file. */
+ #define EVENT__HAVE_SYS_TIMERFD_H 1
+
+ /* Define to 1 if you have the <sys/time.h> header file. */
+ #define EVENT__HAVE_SYS_TIME_H 1
+
+ /* Define to 1 if you have the <sys/types.h> header file. */