add packaging
[platform/upstream/libdrm.git] / xf86drmMode.c
index a6bb2ee..60ce369 100644 (file)
@@ -806,6 +806,8 @@ int drmCheckModesettingSupported(const char *busid)
                        return -EINVAL;
                return (modesetting ? 0 : -ENOSYS);
        }
+#elif defined(__DragonFly__)
+       return 0;
 #endif
        return -ENOSYS;
 
@@ -906,7 +908,7 @@ int drmModePageFlip(int fd, uint32_t crtc_id, uint32_t fb_id,
 
 int drmModeSetPlane(int fd, uint32_t plane_id, uint32_t crtc_id,
                    uint32_t fb_id, uint32_t flags,
-                   uint32_t crtc_x, uint32_t crtc_y,
+                   int32_t crtc_x, int32_t crtc_y,
                    uint32_t crtc_w, uint32_t crtc_h,
                    uint32_t src_x, uint32_t src_y,
                    uint32_t src_w, uint32_t src_h)