diff options
author | marino <marino@FreeBSD.org> | 2014-08-02 16:52:32 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-08-02 16:52:32 +0800 |
commit | 1f03f6f3f4a723098a7e24885988a0ea741f68cc (patch) | |
tree | 4aaa24c39a160439325026073059c66f053eba26 /graphics/libdrm | |
parent | 0e505140cc144f173c89f292b2f4a7516b9a5f80 (diff) | |
download | freebsd-ports-gnome-1f03f6f3f4a723098a7e24885988a0ea741f68cc.tar.gz freebsd-ports-gnome-1f03f6f3f4a723098a7e24885988a0ea741f68cc.tar.zst freebsd-ports-gnome-1f03f6f3f4a723098a7e24885988a0ea741f68cc.zip |
graphics/libdrm: Unbreak hardware acceleration on DragonFly
This is a no-op change for FreeBSD, it just adds a macro check for DF.
Diffstat (limited to 'graphics/libdrm')
-rw-r--r-- | graphics/libdrm/files/extra-xf86drmMode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/libdrm/files/extra-xf86drmMode.c b/graphics/libdrm/files/extra-xf86drmMode.c index d91a92300735..93db8f818422 100644 --- a/graphics/libdrm/files/extra-xf86drmMode.c +++ b/graphics/libdrm/files/extra-xf86drmMode.c @@ -22,7 +22,7 @@ closedir(sysdir); if (found) return 0; -+#elif defined(__FreeBSD__) ++#elif defined(__FreeBSD__) || defined(__DragonFly__) + return 0; #endif return -ENOSYS; |