From a13deb03a42084f5c9b6da254405ed8fbfa89838 Mon Sep 17 00:00:00 2001 From: "Chris D. Faulhaber" Date: Sun, 24 Mar 2002 15:38:55 +0000 Subject: o Teach grub about the lack of raw (e.g. rad0, rda0, etc) devices allowing grub to be used on -current again. o Bump PORTREVISION. o Take over maintainership. --- sysutils/grub/Makefile | 3 ++- sysutils/grub/files/patch-lib_device.c | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 sysutils/grub/files/patch-lib_device.c (limited to 'sysutils/grub') 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]; -- cgit v1.2.3