aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/grub
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2002-03-24 23:38:55 +0800
committerjedgar <jedgar@FreeBSD.org>2002-03-24 23:38:55 +0800
commit6ffde5a82f4a9a2a993046f9bc8226a82bb6001d (patch)
treeba73e1c74308e443d73c3f89295fbc549183689a /sysutils/grub
parent18779d317cb7236570529182eda8770735c51c15 (diff)
downloadfreebsd-ports-gnome-6ffde5a82f4a9a2a993046f9bc8226a82bb6001d.tar.gz
freebsd-ports-gnome-6ffde5a82f4a9a2a993046f9bc8226a82bb6001d.tar.zst
freebsd-ports-gnome-6ffde5a82f4a9a2a993046f9bc8226a82bb6001d.zip
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.
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];