commit:     ebb77c371e0860e13a933238724cf1bf65aca39f
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Oct 10 13:38:21 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Oct 20 07:45:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb77c37

sys-apps/hdparm: remove unused patch.

 sys-apps/hdparm/files/hdparm-9.50-build.patch | 32 ---------------------------
 1 file changed, 32 deletions(-)

diff --git a/sys-apps/hdparm/files/hdparm-9.50-build.patch 
b/sys-apps/hdparm/files/hdparm-9.50-build.patch
deleted file mode 100644
index ff1948acb01..00000000000
--- a/sys-apps/hdparm/files/hdparm-9.50-build.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-* drop hardcoded -O2 flag from CFLAGS
-* drop hardcoded -s (strip) flag from LDFLAGS, and respect user LDFLAGS
-* fix hardcoded `make` and hardcoded -j2 flags
-* respect CFLAGS when linking
-
---- a/Makefile
-+++ b/Makefile
-@@ -13,9 +13,8 @@
- 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 += -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
- 
--LDFLAGS = -s
- #LDFLAGS = -s -static
- INSTALL = install
- INSTALL_DATA = $(INSTALL) -m 644
-@@ -24,11 +23,10 @@ INSTALL_PROGRAM = $(INSTALL)
- 
- OBJS = hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o 
fwdownload.o dvdspeed.o wdidle3.o
- 
--all:
--      make -j2 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

Reply via email to