Browse Source

fix musl compile

Waldemar Brodkorb 11 years ago
parent
commit
a08209ee56

+ 1 - 1
package/parted/Makefile

@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		parted
 PKG_VERSION:=		3.1
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		5d89d64d94bcfefa9ce8f59f4b81bdcb
 PKG_DESCR:=		partition table editor
 PKG_SECTION:=		fs

+ 4 - 4
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.  */

+ 11 - 0
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;