Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TBK
aports
Commits
f316a6c1
Commit
f316a6c1
authored
9 years ago
by
Eivind Uggedal
Browse files
Options
Downloads
Patches
Plain Diff
main/hdparm: upgrade to 9.48
parent
432ba8d5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/hdparm/APKBUILD
+5
-10
5 additions, 10 deletions
main/hdparm/APKBUILD
main/hdparm/fix-includes.patch
+0
-21
0 additions, 21 deletions
main/hdparm/fix-includes.patch
with
5 additions
and
31 deletions
main/hdparm/APKBUILD
+
5
−
10
View file @
f316a6c1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
hdparm
pkgver
=
9.4
5
pkgver
=
9.4
8
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"
This diff is collapsed.
Click to expand it.
main/hdparm/fix-includes.patch
deleted
100644 → 0
+
0
−
21
View file @
432ba8d5
--- 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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment