diff options
Diffstat (limited to 'sys-block/partimage/files/partimage-0.6.4-xfs.patch')
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.4-xfs.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-block/partimage/files/partimage-0.6.4-xfs.patch b/sys-block/partimage/files/partimage-0.6.4-xfs.patch new file mode 100644 index 000000000000..82f801f5468e --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.4-xfs.patch @@ -0,0 +1,28 @@ +--- src/client/fs/fs_xfs.h 2005-09-06 15:48:52.000000000 +0200 ++++ src/client/fs/fs_xfs.h 2005-08-10 05:08:28.000000000 +0200 +@@ -105,12 +105,9 @@ + typedef unsigned short int __uint16_t; + typedef signed int __int32_t; + typedef unsigned int __uint32_t; +-#ifdef __ia64__ ++#if defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || defined(__x86_64__) + typedef signed long int __int64_t; + typedef unsigned long int __uint64_t; +-#elif __alpha__ +-typedef signed long int __int64_t; +-typedef unsigned long int __uint64_t; + #else + typedef signed long long int __int64_t; + typedef unsigned long long int __uint64_t; +@@ -157,10 +154,7 @@ + typedef __uint64_t xfs_dfiloff_t; // block number in a file + typedef __uint64_t xfs_dfilblks_t; // number of blocks in a file + +-#ifdef __ia64__ +-typedef unsigned long __u64; +-typedef signed long __s64; +-#elif __alpha__ ++#if defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) + typedef unsigned long __u64; + typedef signed long __s64; + #else |