From bfc668cbc7854c2779b98ce79f8ef305ee580006 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 24 Nov 2020 20:16:29 -0800 Subject: hdparm: update to 9.60 Use PKG_INSTALL and PKG_BUILD_PARALLEL for consistency. Rebase patch. Signed-off-by: Rosen Penev --- utils/hdparm/patches/010-cflags.patch | 11 +++++++++++ utils/hdparm/patches/010-ldflags.patch | 13 ------------- 2 files changed, 11 insertions(+), 13 deletions(-) create mode 100644 utils/hdparm/patches/010-cflags.patch delete mode 100644 utils/hdparm/patches/010-ldflags.patch (limited to 'utils/hdparm/patches') diff --git a/utils/hdparm/patches/010-cflags.patch b/utils/hdparm/patches/010-cflags.patch new file mode 100644 index 000000000..f8b59b87c --- /dev/null +++ b/utils/hdparm/patches/010-cflags.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -13,7 +13,7 @@ oldmandir = $(manprefix)/man + CC ?= gcc + STRIP ?= strip + +-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) ++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) + + INSTALL = install + INSTALL_DATA = $(INSTALL) -m 644 diff --git a/utils/hdparm/patches/010-ldflags.patch b/utils/hdparm/patches/010-ldflags.patch deleted file mode 100644 index e4778748d..000000000 --- a/utils/hdparm/patches/010-ldflags.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -13,9 +13,8 @@ oldmandir = $(manprefix)/man - CC ?= gcc - STRIP ?= strip - --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) -+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 -- cgit v1.2.3