File gpart-0.1h.diff of Package gpart

---
 inst.defs     |    4 ++--
 src/Makefile  |    2 +-
 src/disku.c   |    1 +
 src/gm_ntfs.h |    2 --
 src/gpart.h   |    2 +-
 src/l64seek.h |    1 +
 6 files changed, 6 insertions(+), 6 deletions(-)

Index: inst.defs
===================================================================
--- inst.defs.orig
+++ inst.defs
@@ -1,9 +1,9 @@
 #
 # installation directories for gpart
 #
-prefix=/usr/local
+prefix=/usr
 bindir=$(prefix)/bin
 libdir=$(prefix)/lib
-mandir=$(prefix)/man
+mandir=$(prefix)/share/man
 manext=8
 sharedir=$(prefix)/share
Index: src/Makefile
===================================================================
--- src/Makefile.orig
+++ src/Makefile
@@ -33,7 +33,7 @@ $(prg): $(obj)
 
 install: $(prg)
 	$(INSTALL) -d $(bindir)
-	$(INSTALL) -s $(prg) $(bindir)
+	$(INSTALL) $(prg) $(bindir)
 
 uninstall:
 	$(RM) $(bindir)/$(prg)
Index: src/disku.c
===================================================================
--- src/disku.c.orig
+++ src/disku.c
@@ -19,6 +19,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/ioctl.h>
+#include <errno.h>
 #include "gpart.h"
 
 #if defined(__linux__)
Index: src/gm_ntfs.h
===================================================================
--- src/gm_ntfs.h.orig
+++ src/gm_ntfs.h
@@ -29,7 +29,6 @@
 /* 'NTFS' in little endian */
 #define NTFS_SUPER_MAGIC	0x5346544E
 
-#if defined(i386) || defined(__i386__) || defined(__alpha__)
 
 /* unsigned integral types */
 #ifndef NTFS_INTEGRAL_TYPES
@@ -39,7 +38,6 @@ typedef unsigned short		ntfs_u16;
 typedef unsigned int		ntfs_u32;
 typedef s64_t			ntfs_u64;
 #endif /* NTFS_INTEGRAL_TYPES */
-#endif /* defined(i386) || defined(__i386__) || defined(__alpha__) */
 
 
 /* Macros reading unsigned integers from a byte pointer */
Index: src/gpart.h
===================================================================
--- src/gpart.h.orig
+++ src/gpart.h
@@ -31,7 +31,7 @@ typedef unsigned char byte_t;
  * endianness (incomplete, later)
  */
 
-#if defined(__i386__) || defined(__alpha__)
+#if defined(__i386__) || defined(__alpha__) || defined(__ia64__)
 #	define le16(x)	(x)		/* x as little endian */
 #	define be16(x)	((((x)&0xff00)>>8)			| \
 			(((x)&0x00ff)<<8))
Index: src/l64seek.h
===================================================================
--- src/l64seek.h.orig
+++ src/l64seek.h
@@ -18,6 +18,7 @@
 #define _L64SEEK_H
 
 #include <unistd.h>
+#include <errno.h>
 
 /*
  * define a type 'off64_t' which is at least 64bit, and a