summaryrefslogtreecommitdiff
path: root/package/hdparm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-18 11:26:07 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-18 11:26:07 +0200
commitb313b252b2d5ac3c2e972931ed82f0e962444140 (patch)
treee89478f623e5d26b9ca11d515655a79f2e3170d3 /package/hdparm
parentd7824829e287d5d6582e6ae67e97e6ad22da13f1 (diff)
hdparm: update to 9.48
Diffstat (limited to 'package/hdparm')
-rw-r--r--package/hdparm/Makefile4
-rw-r--r--package/hdparm/patches/patch-fallocate_c11
-rw-r--r--package/hdparm/patches/patch-hdparm_h10
-rw-r--r--package/hdparm/patches/patch-sysfs_c14
4 files changed, 2 insertions, 37 deletions
diff --git a/package/hdparm/Makefile b/package/hdparm/Makefile
index 4480c660a..07ec255b1 100644
--- a/package/hdparm/Makefile
+++ b/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
diff --git a/package/hdparm/patches/patch-fallocate_c b/package/hdparm/patches/patch-fallocate_c
deleted file mode 100644
index b826cdeba..000000000
--- a/package/hdparm/patches/patch-fallocate_c
+++ /dev/null
@@ -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);
diff --git a/package/hdparm/patches/patch-hdparm_h b/package/hdparm/patches/patch-hdparm_h
deleted file mode 100644
index 8149ef69c..000000000
--- a/package/hdparm/patches/patch-hdparm_h
+++ /dev/null
@@ -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)
diff --git a/package/hdparm/patches/patch-sysfs_c b/package/hdparm/patches/patch-sysfs_c
deleted file mode 100644
index b3ffc3191..000000000
--- a/package/hdparm/patches/patch-sysfs_c
+++ /dev/null
@@ -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"