summaryrefslogtreecommitdiff
path: root/package/parted/patches
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
parent39d95459c8f10def07bfaa0da4b880995bbaf652 (diff)
fix musl compile
Diffstat (limited to 'package/parted/patches')
-rw-r--r--package/parted/patches/patch-lib_config_h_in8
-rw-r--r--package/parted/patches/patch-libparted_fs_xfs_platform_defs_h11
2 files changed, 15 insertions, 4 deletions
diff --git a/package/parted/patches/patch-lib_config_h_in b/package/parted/patches/patch-lib_config_h_in
index ba4569ea9..df6cb1f7d 100644
--- a/package/parted/patches/patch-lib_config_h_in
+++ b/package/parted/patches/patch-lib_config_h_in
@@ -1,7 +1,7 @@
---- parted-3.0.orig/lib/config.h.in 2011-05-30 09:07:32.000000000 +0200
-+++ parted-3.0/lib/config.h.in 2013-02-11 15:50:00.000000000 +0100
-@@ -1385,6 +1385,11 @@
- # endif
+--- parted-3.1.orig/lib/config.h.in 2012-03-02 17:10:29.000000000 +0100
++++ parted-3.1/lib/config.h.in 2013-12-25 20:03:47.000000000 +0100
+@@ -1424,6 +1424,11 @@
+ # define _DARWIN_USE_64_BIT_INODE 1
#endif
+/* Enable large inode numbers on Mac OS X 10.5. */
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;