1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

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.
This commit is contained in:
Chris D. Faulhaber 2002-03-24 15:38:55 +00:00
parent 9daf0ba398
commit a13deb03a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56538
2 changed files with 22 additions and 1 deletions

View File

@ -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

View File

@ -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];