DragonFly uses (int, unsigned long int, ...) like GLIBC and FreeBSD.
Signed-off-by: François Tigeot
---
tests/nouveau/threaded.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/nouveau/threaded.c b/tests/nouveau/threaded.c
index ddbac74e..6a12c1f3 100644
--- a/tests
It is a cleaner and less fragile way to get PCI IDs than the one
currently used by local DPorts patches.
Signed-off-by: François Tigeot
---
xf86drm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xf86drm.c b/xf86drm.c
index 5ddf9366..6db1ab96 100644
--- a/xf86drm.c
Like on OpenBSD, the DragonFly BSD kernel only contains
pci drm drivers.
Signed-off-by: François Tigeot
---
xf86drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xf86drm.c b/xf86drm.c
index 0085bf17..5ddf9366 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -3016,7 +3016,7
name really
points to a drm device and always return true
Signed-off-by: François Tigeot
---
xf86drm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xf86drm.c b/xf86drm.c
index 71ad54ba..0085bf17 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -2778,6 +2778,8 @@ static bool drmNodeIsDRM(int maj
The drm code in DragonFly uses a local Linux implementation which doesn't
define the __linux__ macro.
Use __DragonFly__ instead in order to not try to compile non-Linux code.
---
include/uapi/drm/drm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/drm/drm.h b/in
For the sake of simplicity, KMS support can always be considered
present on DragonFly.
If some particular version doesn't support KMS yet, appropriate
checks are already done in Dports's x11-drivers/ Makefiles and
KMS-enabled driver packages don't get built.
Signed-off-by: Fran?ois Tigeot
---
x
Signed-off-by: Fran?ois Tigeot
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index d2d19d6..b7eef96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,6 +187,7 @@ if test "x$LIBKMS" = xauto ; then
linux*) LIBKMS="yes" ;;