Browse Source

hdparm: update to 9.48

Waldemar Brodkorb 9 years ago
parent
commit
b313b252b2

+ 2 - 2
package/hdparm/Makefile

@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		hdparm
-PKG_VERSION:=		9.43
+PKG_VERSION:=		9.48
 PKG_RELEASE:=		1
-PKG_HASH:=		2bbe92274971182192901ab220e94bd2e4896f924fa6b225d0cffd7d8c16b52a
+PKG_HASH:=		ce97b4a71cb04146f54cf6f69787e7f97ddfda9836dc803b459d3b3df3a4fbee
 PKG_DESCR:=		get/set ata/sata drive parameters
 PKG_SECTION:=		sys/hw
 PKG_URL:=		http://sourceforge.net/projects/hdparm

+ 0 - 11
package/hdparm/patches/patch-fallocate_c

@@ -1,11 +0,0 @@
---- hdparm-9.43.orig/fallocate.c	2010-10-04 21:38:39.000000000 +0200
-+++ hdparm-9.43/fallocate.c	2013-12-26 10:25:40.000000000 +0100
-@@ -27,7 +27,7 @@ int do_fallocate_syscall (const char *pa
- 	err = EINVAL;
- #else
- 	int fd;
--	loff_t offset = 0, len;
-+	off_t offset = 0, len;
- 	int mode = 0;
- 
- 	fd = open(path, O_WRONLY|O_CREAT|O_EXCL, 0600);

+ 0 - 10
package/hdparm/patches/patch-hdparm_h

@@ -1,10 +0,0 @@
---- hdparm-9.43.orig/hdparm.h	2012-01-06 17:38:59.000000000 +0100
-+++ hdparm-9.43/hdparm.h	2013-12-26 10:25:23.000000000 +0100
-@@ -2,6 +2,7 @@
- 
- //#undef __KERNEL_STRICT_NAMES
- #include <linux/types.h>
-+#include <sys/types.h>
- 
- #if !defined(__GNUC__) && !defined(__attribute__)
- #define __attribute__(x)

+ 0 - 14
package/hdparm/patches/patch-sysfs_c

@@ -1,14 +0,0 @@
---- hdparm-9.43.orig/sysfs.c	2010-10-04 21:39:20.000000000 +0200
-+++ hdparm-9.43/sysfs.c	2013-12-26 10:24:57.000000000 +0100
-@@ -11,9 +11,11 @@
- #include <string.h>
- #include <stdio.h>
- #include <fcntl.h>
-+#include <limits.h>
- #include <errno.h>
- #include <dirent.h>
- #include <sys/stat.h>
-+#include <sys/types.h>
- #include <linux/types.h>
- 
- #include "hdparm.h"