summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-08 17:02:42 +0000
committerjoerg <joerg>2010-01-08 17:02:42 +0000
commitabe403b228d944a2a738974ee78f4f9f6e2655d0 (patch)
tree89a7fcbdb8927fac54fdddbe6e6ff0222e133006 /sysutils
parent7687efa93d03781670fb147cd3b91764bd1f6ec0 (diff)
downloadpkgsrc-abe403b228d944a2a738974ee78f4f9f6e2655d0.tar.gz
Improve portability by using standard types.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gpart/distinfo3
-rw-r--r--sysutils/gpart/patches/patch-af28
2 files changed, 30 insertions, 1 deletions
diff --git a/sysutils/gpart/distinfo b/sysutils/gpart/distinfo
index ea13400a897..71b2074379e 100644
--- a/sysutils/gpart/distinfo
+++ b/sysutils/gpart/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2008/12/26 20:23:45 hasso Exp $
+$NetBSD: distinfo,v 1.7 2010/01/08 17:02:42 joerg Exp $
SHA1 (gpart-0.1h.tar.gz) = 23f66162e1d85977ea43bfe6b5e5bff0ad2d566e
RMD160 (gpart-0.1h.tar.gz) = 1cdfb1779801ee8755b05975ced24441a3a2b639
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 43fda85fe6b11c00b256682c7184578a985b9397
SHA1 (patch-ac) = 15a57dd0e9b57c7a64869b43df37a5b2493e77d2
SHA1 (patch-ad) = e53ca24886c072d514802e7dca7a79da2e1916d0
SHA1 (patch-ae) = e9126b145ec8995645d79cd5d569da6e882b3c89
+SHA1 (patch-af) = a201375f69b1581259a2bc287d7ce5ab7c7dafe4
diff --git a/sysutils/gpart/patches/patch-af b/sysutils/gpart/patches/patch-af
new file mode 100644
index 00000000000..d7f4815563d
--- /dev/null
+++ b/sysutils/gpart/patches/patch-af
@@ -0,0 +1,28 @@
+$NetBSD: patch-af,v 1.1 2010/01/08 17:02:42 joerg Exp $
+
+--- src/gm_ntfs.h.orig 2010-01-08 16:59:01.000000000 +0000
++++ src/gm_ntfs.h
+@@ -29,18 +29,11 @@
+ /* 'NTFS' in little endian */
+ #define NTFS_SUPER_MAGIC 0x5346544E
+
+-#if defined(i386) || defined(__i386__) || defined(__alpha__)
+-
+-/* unsigned integral types */
+-#ifndef NTFS_INTEGRAL_TYPES
+-#define NTFS_INTEGRAL_TYPES
+-typedef unsigned char ntfs_u8;
+-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__) */
+-
++#include <inttypes.h>
++typedef uint8_t ntfs_u8;
++typedef uint16_t ntfs_u16;
++typedef uint32_t ntfs_u32;
++typedef int64_t ntfs_u64;
+
+ /* Macros reading unsigned integers from a byte pointer */
+ /* these should work for all little endian machines */