aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/linuxfdisk
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-06-25 13:14:46 +0800
committerdaichi <daichi@FreeBSD.org>2003-06-25 13:14:46 +0800
commit957ac748e1fe8a7d21ca2c658b125bd7b3feedd2 (patch)
tree2a0a5a736386f8dbcec45fbaeb611a8e2cdf98c1 /sysutils/linuxfdisk
parent51e15aa48487c824b9e40300f244195e5a6ab536 (diff)
downloadfreebsd-ports-gnome-957ac748e1fe8a7d21ca2c658b125bd7b3feedd2.tar.gz
freebsd-ports-gnome-957ac748e1fe8a7d21ca2c658b125bd7b3feedd2.tar.zst
freebsd-ports-gnome-957ac748e1fe8a7d21ca2c658b125bd7b3feedd2.zip
fix about build on alpha machine.
PR: 53666 Submitted by: Kris Kennaway <kris@obsecurity.org>
Diffstat (limited to 'sysutils/linuxfdisk')
-rw-r--r--sysutils/linuxfdisk/files/patch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/linuxfdisk/files/patch-aa b/sysutils/linuxfdisk/files/patch-aa
index 9f9d64af1e46..2d0152aa64ee 100644
--- a/sysutils/linuxfdisk/files/patch-aa
+++ b/sysutils/linuxfdisk/files/patch-aa
@@ -459,6 +459,18 @@ diff -rNu fdiskbsdlabel.c fdiskbsdlabel.c
SEEK_SET) == -1)
fatal (unable_to_seek);
if (sizeof (struct xbsd_disklabel) != write (fd, d, sizeof (struct xbsd_disklabel)))
+@@ -847,9 +847,11 @@
+
+ #if defined (__alpha__)
+
++/*
+ #if !defined(__GLIBC__)
+ typedef unsigned long long u_int64_t;
+ #endif
++*/
+
+ void
+ alpha_bootblock_checksum (char *boot)
diff -rNu fdiskbsdlabel.h fdiskbsdlabel.h
--- fdiskbsdlabel.h Thu Oct 31 15:45:34 2002
+++ fdiskbsdlabel.h Fri Jun 20 19:25:55 2003