From b0305f9709822febd61a4cf41d24a164ec611fcf Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 23 Nov 2020 07:53:56 +0100 Subject: [PATCH] hdparm: update to 9.60. --- srcpkgs/hdparm/patches/makefile.patch | 28 --------------------------- srcpkgs/hdparm/template | 4 ++-- 2 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/hdparm/patches/makefile.patch diff --git a/srcpkgs/hdparm/patches/makefile.patch b/srcpkgs/hdparm/patches/makefile.patch deleted file mode 100644 index b40e9d87ba1..00000000000 --- a/srcpkgs/hdparm/patches/makefile.patch +++ /dev/null @@ -1,28 +0,0 @@ -Drop hardcoded -s flag from LDFLAGS -Drop hardcoded -j4 flag -Use CFLAGS when linking - ---- Makefile.orig 2016-12-29 16:15:41.000000000 +0100 -+++ Makefile 2017-01-25 19:54:51.449547415 +0100 -@@ -15,7 +15,6 @@ - - CFLAGS := -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS) - --LDFLAGS = -s - #LDFLAGS = -s -static - INSTALL = install - INSTALL_DATA = $(INSTALL) -m 644 -@@ -24,11 +23,10 @@ - - OBJS = hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o wdidle3.o - --all: -- $(MAKE) -j4 hdparm -+all: hdparm - - hdparm: hdparm.h sgio.h $(OBJS) -- $(CC) $(LDFLAGS) -o hdparm $(OBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o hdparm $(OBJS) - $(STRIP) hdparm - - hdparm.o: hdparm.h sgio.h diff --git a/srcpkgs/hdparm/template b/srcpkgs/hdparm/template index eb560d63c21..7b4ae3c9985 100644 --- a/srcpkgs/hdparm/template +++ b/srcpkgs/hdparm/template @@ -1,6 +1,6 @@ # Template file for 'hdparm' pkgname=hdparm -version=9.58 +version=9.60 revision=1 build_style=gnu-makefile make_install_args="exec_prefix=/usr sbindir=/usr/bin" @@ -9,7 +9,7 @@ maintainer="teldra " license="0BSD" # Upstream is very unclear and names their stuff 'bsd-style' homepage="https://sourceforge.net/projects/hdparm/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=9ae78e883f3ce071d32ee0f1b9a2845a634fc4dd94a434e653fdbef551c5e10f +checksum=8397739c73e44d5ab96c4aef28fa9c0147276d53a1b5657ce04c4565cf6635cc post_install() { vlicense LICENSE.TXT