deskutils/noti: fix build on -head

PR:		247759
Approved by:	portmgr (blanket: build fix)
MFH:		2020Q3 (blanket: build fix)
This commit is contained in:
Mikael Urankar 2020-07-22 17:25:16 +00:00
parent d65b5e07ae
commit e42f217f24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542882

View File

@ -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"