1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Attempt to fix the build on HEAD

This commit is contained in:
Greg Lewis 2020-08-18 21:24:49 +00:00
parent 6feb196879
commit f49807023d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545259

View File

@ -1,14 +1,16 @@
--- vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go.orig 2020-05-28 07:16:25.000000000 -0700
+++ vendor/github.com/godbus/dbus/transport_unixcred_freebsd.go 2020-06-10 23:26:07.955802000 -0700
@@ -8,7 +8,7 @@
@@ -8,8 +8,9 @@
package dbus
/*
-const int sizeofPtr = sizeof(void*);
+const int sizeOfPtr = sizeof(void*);
#define _WANT_UCRED
+#include <sys/types.h>
#include <sys/ucred.h>
*/
import "C"
@@ -38,7 +38,7 @@
// http://golang.org/src/pkg/syscall/sockcmsg_unix.go