1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-07 14:08:29 -04:00

freebsd: add initial support for running on FreeBSD, excluding Bluez,

ppd, and some things. Add a simple wpa_supplicant backend
This commit is contained in:
bbedward
2026-07-19 10:31:48 -04:00
parent 069df80b22
commit 90291bd627
46 changed files with 3168 additions and 209 deletions
+2 -2
View File
@@ -43,9 +43,9 @@ type Buffer struct {
func CreateBuffer(width, height, stride int) (*Buffer, error) {
size := stride * height
fd, err := unix.MemfdCreate("dms-shm", 0)
fd, err := CreateAnonFd("dms-shm")
if err != nil {
return nil, fmt.Errorf("memfd_create: %w", err)
return nil, fmt.Errorf("create shm fd: %w", err)
}
if err := unix.Ftruncate(fd, int64(size)); err != nil {