aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2020-07-22 17:23:17 +0000
committerMikael Urankar <mikael@FreeBSD.org>2020-07-22 17:23:17 +0000
commitd65b5e07ae57c7aa821ca00b8c20303d11adca02 (patch)
tree59e0ed74aef1585bf67f5b1588db3e0402a3f48f /net-im
parent88b8fe17ec39cb8960084820bf6cb86af25c90a1 (diff)
net-im/6cord: fix build on -head
Import upstream patch: https://github.com/godbus/dbus/commit/efee8394fa9a426004eb24eed1dee80f5efd90af PR: 247760 Approved by: Lewis Cook (maintainer) MFH: 2020Q3 (build fix)
Notes
Notes: svn path=/head/; revision=542881
Diffstat (limited to 'net-im')
-rw-r--r--net-im/6cord/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-im/6cord/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go b/net-im/6cord/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go
new file mode 100644
index 000000000000..04240efb7169
--- /dev/null
+++ b/net-im/6cord/files/patch-vendor_github.com_godbus_dbus_transport__unixcred__freebsd.go
@@ -0,0 +1,10 @@
+--- vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go.orig 2019-12-08 01:39:36 UTC
++++ vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go
+@@ -10,6 +10,7 @@ package dbus
+ /*
+ const int sizeofPtr = sizeof(void*);
+ #define _WANT_UCRED
++#include <sys/types.h>
+ #include <sys/ucred.h>
+ */
+ import "C"