ports/devel/electron32/files/patch-third__party_wayland_include_config.h
Hiroki Tagato 63a5b151bf devel/electron32: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-09-23 04:58:21 +09:00

29 lines
564 B
C

--- third_party/wayland/include/config.h.orig 2024-02-21 00:21:13 UTC
+++ third_party/wayland/include/config.h
@@ -9,7 +9,14 @@
#define HAVE_BROKEN_MSG_CMSG_CLOEXEC 0
+#if defined(__FreeBSD__)
+#include <osreldate.h>
+#if defined(__FreeBSD_version) && __FreeBSD_version < 1300048
+#undef HAVE_MEMFD_CREATE
+#else
#define HAVE_MEMFD_CREATE
+#endif
+#endif
#define HAVE_MKOSTEMP
@@ -25,7 +32,11 @@
#undef HAVE_SYS_PROCCTL_H
+#if defined(__FreeBSD__)
+#define HAVE_SYS_UCRED_H
+#else
#undef HAVE_SYS_UCRED_H
+#endif
#define HAVE_XUCRED_CR_PID 0