diff --git a/ports/devel/libudev-devd/dragonfly/patch-udev-utils.c b/ports/devel/libudev-devd/dragonfly/patch-udev-utils.c new file mode 100644 index 000000000000..77bed59b0c61 --- /dev/null +++ b/ports/devel/libudev-devd/dragonfly/patch-udev-utils.c @@ -0,0 +1,12 @@ +--- udev-utils.c.orig 2023-01-16 23:20:51 UTC ++++ udev-utils.c +@@ -843,7 +843,7 @@ create_drm_handler(struct udev_device *u + + /* Get the hw.dri..busid entry */ + realpath(devpath, devbuf); +- if (sscanf(devbuf, "/dev/drm/%d", &cardnum) != 1) ++ if (sscanf(devbuf, "/dev/dri/card%d", &cardnum) != 1) + return; + + snprintf(buf, sizeof(buf), "hw.dri.%d.busid", cardnum); +