aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2002-03-18 00:02:32 +0800
committerkevlo <kevlo@FreeBSD.org>2002-03-18 00:02:32 +0800
commit3d1a2cd03a0a608b9234789794b087612b1747b7 (patch)
tree8cf1ae58ef77dda5b3b82c12fa1f95e39645de64
parentce83b7a8dc0ef8688ad6aaa9fcf94b5d1cd59a56 (diff)
downloadfreebsd-ports-graphics-3d1a2cd03a0a608b9234789794b087612b1747b7.tar.gz
freebsd-ports-graphics-3d1a2cd03a0a608b9234789794b087612b1747b7.tar.zst
freebsd-ports-graphics-3d1a2cd03a0a608b9234789794b087612b1747b7.zip
Update to 0.9.5
PR: 35997 Submitted by: MAINTAINER
-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 7f0ae1a2b1e..ddfafd81777 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 c6e9211250c..37cc1a0fdf2 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 00000000000..1e2bcbe6bb3
--- /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;
+ }
+