summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-05-18 08:29:04 +0000
committerobache <obache@pkgsrc.org>2013-05-18 08:29:04 +0000
commit1d9e3feb6e79fe796940491224d26e9d96da95c0 (patch)
tree6f05173a6d3df3c1849ff9196fa2128d4f05504d /x11
parentca6a0ed1709c7ef152be040a574a82ffa0a87935 (diff)
downloadpkgsrc-1d9e3feb6e79fe796940491224d26e9d96da95c0.tar.gz
treat DragonFly same as newer FreeBSD.
PR pkg/47822.
Diffstat (limited to 'x11')
-rw-r--r--x11/modular-xorg-server/distinfo3
-rw-r--r--x11/modular-xorg-server/patches/patch-hw_xfree86_os-support_xf86__OSlib.h15
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/modular-xorg-server/distinfo b/x11/modular-xorg-server/distinfo
index eeafed75a85..3468e4b4466 100644
--- a/x11/modular-xorg-server/distinfo
+++ b/x11/modular-xorg-server/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.48 2013/05/16 05:38:31 richard Exp $
+$NetBSD: distinfo,v 1.49 2013/05/18 08:29:04 obache Exp $
SHA1 (xorg-server-1.12.4.tar.bz2) = 6d616874f9c7677bda08dc073c03f83e78fbc585
RMD160 (xorg-server-1.12.4.tar.bz2) = 4907b5dc42efd6b3fb6bf9d64f1441080a6a6983
Size (xorg-server-1.12.4.tar.bz2) = 5444761 bytes
SHA1 (patch-configure) = 031bc0accf1dd71ed687e7aac3fcc9498cb06784
+SHA1 (patch-hw_xfree86_os-support_xf86__OSlib.h) = 5a69da1e146f5cab78183b22153db652c0e4d789
diff --git a/x11/modular-xorg-server/patches/patch-hw_xfree86_os-support_xf86__OSlib.h b/x11/modular-xorg-server/patches/patch-hw_xfree86_os-support_xf86__OSlib.h
new file mode 100644
index 00000000000..097163a8f7d
--- /dev/null
+++ b/x11/modular-xorg-server/patches/patch-hw_xfree86_os-support_xf86__OSlib.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-hw_xfree86_os-support_xf86__OSlib.h,v 1.1 2013/05/18 08:29:04 obache Exp $
+
+* treat DragonFly same as newer FreeBSD.
+
+--- hw/xfree86/os-support/xf86_OSlib.h.orig 2012-05-17 17:09:03.000000000 +0000
++++ hw/xfree86/os-support/xf86_OSlib.h
+@@ -277,7 +277,7 @@ struct pcvtid {
+ #include <dev/wscons/wsdisplay_usl_io.h>
+ #endif /* WSCONS_SUPPORT */
+ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+-#if defined(__FreeBSD_kernel_version) && (__FreeBSD_kernel_version >= 500013)
++#if defined(__FreeBSD_kernel_version) && (__FreeBSD_kernel_version >= 500013) || defined(__DragonFly__)
+ #include <sys/mouse.h>
+ #else
+ #undef MOUSE_GETINFO