aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/drm-kmod/Makefile4
-rw-r--r--graphics/drm-kmod/distinfo2
-rw-r--r--graphics/drm-kmod/files/patch-radeonstate11
3 files changed, 14 insertions, 3 deletions
diff --git a/graphics/drm-kmod/Makefile b/graphics/drm-kmod/Makefile
index 7f0ae1a2b1ee..ddfafd81777f 100644
--- a/graphics/drm-kmod/Makefile
+++ b/graphics/drm-kmod/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= drm-kmod
-PORTVERSION= 0.9.4
+PORTVERSION= 0.9.5
CATEGORIES= graphics x11
MASTER_SITES= http://gladstone.uoregon.edu/~eanholt/dri/
@@ -29,7 +29,7 @@ CFLAGS+= -DSMP -DAPIC_IO
pre-extract:
.if ${OSVERSION} < 500000
.if !defined(WITH_SMP)
- @${ECHO_MSG} "If you are using modules on an SMP system, define WITH_SMP to get SMP locking"
+ @${ECHO_MSG} "If you are using modules on an SMP system, use "make -DWITH_SMP" to get SMP locking"
@${ECHO_MSG}
.endif
.endif
diff --git a/graphics/drm-kmod/distinfo b/graphics/drm-kmod/distinfo
index c6e9211250ca..37cc1a0fdf2b 100644
--- a/graphics/drm-kmod/distinfo
+++ b/graphics/drm-kmod/distinfo
@@ -1 +1 @@
-MD5 (drm-kmod-0.9.4.tar.gz) = 3fa343a71ceecfaed75d78784ff575f0
+MD5 (drm-kmod-0.9.5.tar.gz) = d231fb965f46137ae19908051bba4ad9
diff --git a/graphics/drm-kmod/files/patch-radeonstate b/graphics/drm-kmod/files/patch-radeonstate
new file mode 100644
index 000000000000..1e2bcbe6bb35
--- /dev/null
+++ b/graphics/drm-kmod/files/patch-radeonstate
@@ -0,0 +1,11 @@
+--- radeon/radeon_state.c.orig Sat Mar 16 19:55:08 2002
++++ radeon/radeon_state.c Sat Mar 16 19:55:26 2002
+@@ -1060,7 +1060,7 @@
+ DRM_ERROR( "EFAULT on tex->image\n" );
+ DRM_OS_RETURN( EFAULT );
+ }
+- } else if ( size < 4 ) {
++ } else if ( size < 4 && size > 0 ) {
+ size = 4;
+ }
+