aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-components_sync__device__info_local__device__info__util__linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-components_sync__device__info_local__device__info__util__linux.cc')
-rw-r--r--devel/electron29/files/patch-components_sync__device__info_local__device__info__util__linux.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-components_sync__device__info_local__device__info__util__linux.cc b/devel/electron29/files/patch-components_sync__device__info_local__device__info__util__linux.cc
new file mode 100644
index 000000000000..1edb88b39884
--- /dev/null
+++ b/devel/electron29/files/patch-components_sync__device__info_local__device__info__util__linux.cc
@@ -0,0 +1,14 @@
+--- components/sync_device_info/local_device_info_util_linux.cc.orig 2022-09-24 10:57:32 UTC
++++ components/sync_device_info/local_device_info_util_linux.cc
+@@ -9,6 +9,11 @@
+
+ #include "base/linux_util.h"
+
++#if defined(__FreeBSD__)
++#include <sys/param.h>
++#define HOST_NAME_MAX MAXHOSTNAMELEN
++#endif
++
+ namespace syncer {
+
+ std::string GetPersonalizableDeviceNameInternal() {