aboutsummaryrefslogtreecommitdiff
path: root/sysutils/grub
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-03-24 15:38:55 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-03-24 15:38:55 +0000
commita13deb03a42084f5c9b6da254405ed8fbfa89838 (patch)
treeb1b31a738845bc4a990f127c2c7f9149dfae95de /sysutils/grub
parent9daf0ba3982cc4d7bd63392b4e714cc63a0f1962 (diff)
downloadports-a13deb03a42084f5c9b6da254405ed8fbfa89838.tar.gz
ports-a13deb03a42084f5c9b6da254405ed8fbfa89838.zip
Notes
Diffstat (limited to 'sysutils/grub')
-rw-r--r--sysutils/grub/Makefile3
-rw-r--r--sysutils/grub/files/patch-lib_device.c20
2 files changed, 22 insertions, 1 deletions
diff --git a/sysutils/grub/Makefile b/sysutils/grub/Makefile
index 6e142a2860f6..d6a0c9e8dfeb 100644
--- a/sysutils/grub/Makefile
+++ b/sysutils/grub/Makefile
@@ -7,10 +7,11 @@
PORTNAME= grub
PORTVERSION= 0.91
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jedgar@FreeBSD.org
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/sysutils/grub/files/patch-lib_device.c b/sysutils/grub/files/patch-lib_device.c
new file mode 100644
index 000000000000..9e4fb52ce0ad
--- /dev/null
+++ b/sysutils/grub/files/patch-lib_device.c
@@ -0,0 +1,20 @@
+--- lib/device.c.orig Sat Oct 13 00:20:05 2001
++++ lib/device.c Sun Mar 24 10:31:41 2002
+@@ -209,7 +209,7 @@
+ #elif defined(__FreeBSD__)
+ /* FreeBSD */
+ # if __FreeBSD__ >= 4
+- sprintf (name, "/dev/rad%d", unit);
++ sprintf (name, "/dev/ad%d", unit);
+ # else /* __FreeBSD__ <= 3 */
+ sprintf (name, "/dev/rwd%d", unit);
+ # endif /* __FreeBSD__ <= 3 */
+@@ -245,7 +245,7 @@
+ sprintf (name, "/dev/sd%d", unit);
+ #elif defined(__FreeBSD__)
+ /* FreeBSD */
+- sprintf (name, "/dev/rda%d", unit);
++ sprintf (name, "/dev/da%d", unit);
+ #elif defined(__NetBSD__) && defined(HAVE_OPENDISK)
+ /* NetBSD */
+ char shortname[16];