aboutsummaryrefslogtreecommitdiffstats
path: root/main/hdparm
diff options
context:
space:
mode:
Diffstat (limited to 'main/hdparm')
-rw-r--r--main/hdparm/APKBUILD15
-rw-r--r--main/hdparm/fix-includes.patch21
2 files changed, 5 insertions, 31 deletions
diff --git a/main/hdparm/APKBUILD b/main/hdparm/APKBUILD
index 463aad9376..3ac6be1ccc 100644
--- a/main/hdparm/APKBUILD
+++ b/main/hdparm/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hdparm
-pkgver=9.45
+pkgver=9.48
pkgrel=0
pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters"
url="http://sourceforge.net/projects/hdparm/"
@@ -9,9 +9,7 @@ license="BSD"
depends=""
makedepends="linux-headers "
subpackages="$pkgname-doc"
-source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
- fix-includes.patch
- "
+source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -38,9 +36,6 @@ package() {
install -D -m 644 LICENSE.TXT $pkgdir/usr/share/licenses/hdparm/LICENSE.TXT || return 1
}
-md5sums="1c75d0751a44928b6c4bc81fb16d7fe8 hdparm-9.45.tar.gz
-13a99ab348839153ffd0f309981f892b fix-includes.patch"
-sha256sums="23b01caa56a995cf0897877b6aff98ea622a5df255bc2894b1a7693387f38669 hdparm-9.45.tar.gz
-8234bdc6cda1a81ba404ac2666ba7c0b2c047f13c3face83ee95a5eaa72abe28 fix-includes.patch"
-sha512sums="2692382f16fe9a87b7c9673bea44b8a9512b2449aaf18090f09c9e761fadc153f71d9779d063218f6951797649c0758f97242b7327da6653ea53991bf3da9eb8 hdparm-9.45.tar.gz
-8d6268d3183375f5984f9c958f7911dbc501de589a035a6252cfbb5595e5049b567ceaa064ea4644a0d3f9a3381370e1c416c151e34fa19d3df8a09ec12613c0 fix-includes.patch"
+md5sums="213efdbe7471fad3408198918e164354 hdparm-9.48.tar.gz"
+sha256sums="ce97b4a71cb04146f54cf6f69787e7f97ddfda9836dc803b459d3b3df3a4fbee hdparm-9.48.tar.gz"
+sha512sums="5b8908a762d892c403406da4798202bed95f035396e3c49f04da910fa53a6b442a7d7c9cb1e5d786d7c8c5a1b681c8d1db10f1bd8dad09600a6f3811fbf8afb7 hdparm-9.48.tar.gz"
diff --git a/main/hdparm/fix-includes.patch b/main/hdparm/fix-includes.patch
deleted file mode 100644
index 8a63f7a703..0000000000
--- a/main/hdparm/fix-includes.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- hdparm-9.43/hdparm.h.orig
-+++ hdparm-9.43/hdparm.h
-@@ -1,7 +1,7 @@
- /* Some prototypes for extern functions. */
-
- //#undef __KERNEL_STRICT_NAMES
--#include <linux/types.h>
-+#include <sys/types.h>
-
- #if !defined(__GNUC__) && !defined(__attribute__)
- #define __attribute__(x)
---- hdparm-9.43/sysfs.c.orig
-+++ hdparm-9.43/sysfs.c
-@@ -12,6 +12,7 @@
- #include <stdio.h>
- #include <fcntl.h>
- #include <errno.h>
-+#include <limits.h>
- #include <dirent.h>
- #include <sys/stat.h>
- #include <linux/types.h>