Browse Source

hdparm: Updated to latest version 9.47, removed obsolete patch.

Signed-off-by: Richard Kunze <richard.kunze@web.de>
lilik-openwrt-22.03
Richard Kunze 9 years ago
parent
commit
791e912871
2 changed files with 2 additions and 22 deletions
  1. +2
    -2
      utils/hdparm/Makefile
  2. +0
    -20
      utils/hdparm/patches/001-fix-includes.patch

+ 2
- 2
utils/hdparm/Makefile View File

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=hdparm
PKG_VERSION:=9.45
PKG_VERSION:=9.47
PKG_RELEASE:=1
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=1c75d0751a44928b6c4bc81fb16d7fe8
PKG_MD5SUM:=560c1d8af7f696239cbbca7cd146304a
PKG_MAINTAINER:=Richard Kunze <richard.kunze@web.de>
PKG_LICENSE:=BSD-Style Open Source License


+ 0
- 20
utils/hdparm/patches/001-fix-includes.patch View File

@ -1,20 +0,0 @@
--- a/hdparm.h
+++ b/hdparm.h
@@ -2,6 +2,7 @@
//#undef __KERNEL_STRICT_NAMES
#include <linux/types.h>
+#include <sys/types.h>
#if !defined(__GNUC__) && !defined(__attribute__)
#define __attribute__(x)
--- a/sysfs.c
+++ b/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>

Loading…
Cancel
Save