aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/grub
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2002-07-10 04:08:36 +0800
committerjedgar <jedgar@FreeBSD.org>2002-07-10 04:08:36 +0800
commit8a38c5a591b5458fe59e443ecad989b20e24ea17 (patch)
treea645712f232c3af8dfa02690d3be3fbf8d99eff9 /sysutils/grub
parent7e6d6a9689554fa0d6560c468ea27b3fa1162ad1 (diff)
downloadfreebsd-ports-gnome-8a38c5a591b5458fe59e443ecad989b20e24ea17.tar.gz
freebsd-ports-gnome-8a38c5a591b5458fe59e443ecad989b20e24ea17.tar.zst
freebsd-ports-gnome-8a38c5a591b5458fe59e443ecad989b20e24ea17.zip
Use the native sys/types.h to pull in the definitions of __int8_t and
friends to fix RELENG_4 builds.
Diffstat (limited to 'sysutils/grub')
-rw-r--r--sysutils/grub/files/patch-stage2_Makefile.in11
-rw-r--r--sysutils/grub/files/patch-stage2_xfs.h13
2 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/grub/files/patch-stage2_Makefile.in b/sysutils/grub/files/patch-stage2_Makefile.in
new file mode 100644
index 000000000000..aff172bc3a74
--- /dev/null
+++ b/sysutils/grub/files/patch-stage2_Makefile.in
@@ -0,0 +1,11 @@
+--- stage2/Makefile.in.orig Sun Apr 28 20:13:21 2002
++++ stage2/Makefile.in Tue Jul 9 16:01:39 2002
+@@ -157,7 +157,7 @@
+ @HERCULES_SUPPORT_TRUE@HERCULES_FLAGS = -DSUPPORT_HERCULES=1
+ @HERCULES_SUPPORT_FALSE@HERCULES_FLAGS =
+
+-STAGE2_COMPILE = $(STAGE2_CFLAGS) -fno-builtin -nostdinc \
++STAGE2_COMPILE = $(STAGE2_CFLAGS) -fno-builtin \
+ $(NETBOOT_FLAGS) $(SERIAL_FLAGS) $(HERCULES_FLAGS)
+
+
diff --git a/sysutils/grub/files/patch-stage2_xfs.h b/sysutils/grub/files/patch-stage2_xfs.h
new file mode 100644
index 000000000000..d8865297ae94
--- /dev/null
+++ b/sysutils/grub/files/patch-stage2_xfs.h
@@ -0,0 +1,13 @@
+--- stage2/xfs.h.orig Sat Oct 27 12:04:25 2001
++++ stage2/xfs.h Tue Jul 9 16:03:40 2002
+@@ -33,7 +33,9 @@
+ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
+ */
+
+-#ifndef _BITS_TYPES_H
++#include <sys/types.h>
++
++#if 0
+ typedef signed char __int8_t;
+ typedef unsigned char __uint8_t;
+ typedef short __int16_t;