Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hdparm/files/
Date: Fri, 20 Oct 2017 07:45:31
Message-Id: 1508485508.ebb77c371e0860e13a933238724cf1bf65aca39f.monsieurp@gentoo
1 commit: ebb77c371e0860e13a933238724cf1bf65aca39f
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Oct 10 13:38:21 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 20 07:45:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb77c37
7
8 sys-apps/hdparm: remove unused patch.
9
10 sys-apps/hdparm/files/hdparm-9.50-build.patch | 32 ---------------------------
11 1 file changed, 32 deletions(-)
12
13 diff --git a/sys-apps/hdparm/files/hdparm-9.50-build.patch b/sys-apps/hdparm/files/hdparm-9.50-build.patch
14 deleted file mode 100644
15 index ff1948acb01..00000000000
16 --- a/sys-apps/hdparm/files/hdparm-9.50-build.patch
17 +++ /dev/null
18 @@ -1,32 +0,0 @@
19 -* drop hardcoded -O2 flag from CFLAGS
20 -* drop hardcoded -s (strip) flag from LDFLAGS, and respect user LDFLAGS
21 -* fix hardcoded `make` and hardcoded -j2 flags
22 -* respect CFLAGS when linking
23 -
24 ---- a/Makefile
25 -+++ b/Makefile
26 -@@ -13,9 +13,8 @@
27 - CC ?= gcc
28 - STRIP ?= strip
29 -
30 --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)
31 -+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
32 -
33 --LDFLAGS = -s
34 - #LDFLAGS = -s -static
35 - INSTALL = install
36 - INSTALL_DATA = $(INSTALL) -m 644
37 -@@ -24,11 +23,10 @@ INSTALL_PROGRAM = $(INSTALL)
38 -
39 - OBJS = hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o wdidle3.o
40 -
41 --all:
42 -- make -j2 hdparm
43 -+all: hdparm
44 -
45 - hdparm: hdparm.h sgio.h $(OBJS)
46 -- $(CC) $(LDFLAGS) -o hdparm $(OBJS)
47 -+ $(CC) $(CFLAGS) $(LDFLAGS) -o hdparm $(OBJS)
48 - $(STRIP) hdparm
49 -
50 - hdparm.o: hdparm.h sgio.h