Page MenuHomeFreeBSD

D2149.id.diff
No OneTemporary

D2149.id.diff

Index: head/x11-drivers/Makefile
===================================================================
--- head/x11-drivers/Makefile
+++ head/x11-drivers/Makefile
@@ -3,6 +3,7 @@
COMMENT = X11 drivers
+ SUBDIR += drm-kmod
SUBDIR += xf86-input-acecad
SUBDIR += xf86-input-egalax
SUBDIR += xf86-input-elographics
Index: head/x11-drivers/drm-kmod/Makefile
===================================================================
--- head/x11-drivers/drm-kmod/Makefile
+++ head/x11-drivers/drm-kmod/Makefile
@@ -0,0 +1,32 @@
+# Created by: Jean-Sebastien Pedron <dumbbell@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= drm-kmod
+DISTVERSION= 9.280208
+CATEGORIES= x11-drivers
+MASTER_SITES= LOCAL/dumbbell
+DISTNAME= drm-${DISTVERSION}
+
+MAINTAINER= x11@FreeBSD.org
+COMMENT= FreeBSD 9.3 Kernel DRM driver
+
+LICENSE= MIT
+
+USES= tar:xz kmod
+ONLY_FOR_ARCHS= i386 amd64
+
+PLIST_FILES= ${KMODDIR}/drm2_port.ko \
+ ${KMODDIR}/i915kms_port.ko \
+ ${KMODDIR}/radeonkms_port.ko \
+
+.include <bsd.port.options.mk>
+
+.if (${OSVERSION} < 903000 || ${OSVERSION} > 1000000)
+IGNORE= this port is only for 9.3 systems
+.endif
+
+.if ${PORT_OPTIONS:MDEBUG}
+MAKE_ARGS+=" HAVE_DEBUG=YES"
+.endif
+
+.include <bsd.port.mk>
Index: head/x11-drivers/drm-kmod/distinfo
===================================================================
--- head/x11-drivers/drm-kmod/distinfo
+++ head/x11-drivers/drm-kmod/distinfo
@@ -0,0 +1,2 @@
+SHA256 (drm-9.280208.tar.xz) = 27586b92a14b4a7596e838eaeb596ae82b53cb7807179a456bb4e5cad0c8c8b0
+SIZE (drm-9.280208.tar.xz) = 902972
Index: head/x11-drivers/drm-kmod/pkg-descr
===================================================================
--- head/x11-drivers/drm-kmod/pkg-descr
+++ head/x11-drivers/drm-kmod/pkg-descr
@@ -0,0 +1,3 @@
+The DRM kernel driver supports Intel and Radeon GPUs.
+
+WWW: http://www.freebsd.org/
Index: head/x11-drivers/xf86-video-ati/Makefile
===================================================================
--- head/x11-drivers/xf86-video-ati/Makefile
+++ head/x11-drivers/xf86-video-ati/Makefile
@@ -2,7 +2,7 @@
PORTNAME= xf86-video-ati
PORTVERSION= 7.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
@@ -22,4 +22,14 @@
CONFIGURE_ARGS+=--disable-udev
CONFIGURE_ARGS+=--disable-glamor
+.include <bsd.port.options.mk>
+
+.if (${OSVERSION} >= 903000 && ${OSVERSION} < 1000000)
+RUN_DEPENDS+= drm-kmod>=9:${PORTSDIR}/x11-drivers/drm-kmod
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|"radeonkms"|"radeonkms_port"|g' \
+ ${WRKSRC}/src/radeon_kms.c
+.endif
+
.include <bsd.port.mk>
Index: head/x11-drivers/xf86-video-intel/Makefile
===================================================================
--- head/x11-drivers/xf86-video-intel/Makefile
+++ head/x11-drivers/xf86-video-intel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xf86-video-intel
PORTVERSION= 2.21.15
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
@@ -33,4 +33,14 @@
CONFIGURE_ARGS+= --disable-glamor
INSTALL_TARGET= install-strip
+.include <bsd.port.options.mk>
+
+.if (${OSVERSION} >= 903000 && ${OSVERSION} < 1000000)
+RUN_DEPENDS+= drm-kmod>=9:${PORTSDIR}/x11-drivers/drm-kmod
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|"i915kms"|"i915kms_port"|g' \
+ ${WRKSRC}/src/intel_device.c
+.endif
+
.include <bsd.port.mk>

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 12:17 AM (9 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14523759
Default Alt Text
D2149.id.diff (3 KB)

Event Timeline