summaryrefslogtreecommitdiff
path: root/package/parted/patches/patch-libparted_fs_xfs_platform_defs_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-25 20:58:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-25 20:58:14 +0100
commita08209ee56b3587dff4b4004f3e313e83ad88d7d (patch)
tree5ac18ddefeca2a4e7d887f6103d0ae86be69ebef /package/parted/patches/patch-libparted_fs_xfs_platform_defs_h
parent39d95459c8f10def07bfaa0da4b880995bbaf652 (diff)
fix musl compile
Diffstat (limited to 'package/parted/patches/patch-libparted_fs_xfs_platform_defs_h')
-rw-r--r--package/parted/patches/patch-libparted_fs_xfs_platform_defs_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/parted/patches/patch-libparted_fs_xfs_platform_defs_h b/package/parted/patches/patch-libparted_fs_xfs_platform_defs_h
new file mode 100644
index 000000000..9d6fe232d
--- /dev/null
+++ b/package/parted/patches/patch-libparted_fs_xfs_platform_defs_h
@@ -0,0 +1,11 @@
+--- parted-3.1.orig/libparted/fs/xfs/platform_defs.h 2012-01-12 17:38:40.000000000 +0100
++++ parted-3.1/libparted/fs/xfs/platform_defs.h 2013-12-25 20:53:13.000000000 +0100
+@@ -51,7 +51,7 @@
+ # define constpp char * const *
+ #endif
+
+-typedef loff_t xfs_off_t;
++typedef off_t xfs_off_t;
+ typedef uint64_t xfs_ino_t;
+ typedef uint32_t xfs_dev_t;
+ typedef int64_t xfs_daddr_t;