commit:     674f5bec1a006722c362f21611ab2563904043a6
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail 
<DOT> com>
AuthorDate: Tue Feb  7 16:49:46 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 22:37:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=674f5bec

sys-power/pmtools: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/3870

 .../files/pmtools-20071116-cflags-ldflags.patch    | 38 ----------------
 .../files/pmtools-20100123-cflags-ldflags.patch    | 52 ----------------------
 2 files changed, 90 deletions(-)

diff --git a/sys-power/pmtools/files/pmtools-20071116-cflags-ldflags.patch 
b/sys-power/pmtools/files/pmtools-20071116-cflags-ldflags.patch
deleted file mode 100644
index 1d55e6a81b..0000000000
--- a/sys-power/pmtools/files/pmtools-20071116-cflags-ldflags.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- acpidump/Makefile.orig
-+++ acpidump/Makefile
-@@ -1,11 +1,11 @@
- PROG= acpidump
- SRCS= acpidump.c
- KERNEL_INCLUDE := ../include
--CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s 
-D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 
-+CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D_LINUX 
-DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 
- 
- all: acpidump
- $(PROG) : $(SRCS)
--      $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
-+      $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
- 
- CLEANFILES= $(PROG)
- 
---- acpixtract/Makefile.orig
-+++ acpixtract/Makefile
-@@ -6,7 +6,7 @@
- all: $(PROG)
- 
- $(PROG) : $(SRCS)
--      $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
-+      $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
- 
- CLEANFILES= $(PROG)
- 
---- madt/Makefile.orig
-+++ madt/Makefile
-@@ -3,7 +3,7 @@
- 
- all: madt
- $(PROG) : $(SRCS)
--      $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
-+      $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
- 
- test: madt
-       ./madt < example.APIC.dat

diff --git a/sys-power/pmtools/files/pmtools-20100123-cflags-ldflags.patch 
b/sys-power/pmtools/files/pmtools-20100123-cflags-ldflags.patch
deleted file mode 100644
index 57642abacf..0000000000
--- a/sys-power/pmtools/files/pmtools-20100123-cflags-ldflags.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -Nuar pmtools-20100123.orig/acpidump/Makefile 
pmtools-20100123/acpidump/Makefile
---- pmtools-20100123.orig/acpidump/Makefile    2006-11-30 13:41:15.000000000 
+0100
-+++ pmtools-20100123/acpidump/Makefile 2010-03-07 14:19:12.337141824 +0100
-@@ -1,11 +1,11 @@
- PROG= acpidump
- SRCS= acpidump.c
- KERNEL_INCLUDE := ../include
--CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s 
-D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 
-+CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D_LINUX 
-DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) 
- 
- all: acpidump
- $(PROG) : $(SRCS)
--      $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
-+      $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
- 
- CLEANFILES= $(PROG)
- 
-diff -Nuar pmtools-20100123.orig/acpixtract/Makefile 
pmtools-20100123/acpixtract/Makefile
---- pmtools-20100123.orig/acpixtract/Makefile  2006-11-30 13:45:06.000000000 
+0100
-+++ pmtools-20100123/acpixtract/Makefile       2010-03-07 14:19:12.337141824 
+0100
-@@ -6,7 +6,7 @@
- all: $(PROG)
- 
- $(PROG) : $(SRCS)
--      $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
-+      $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
- 
- CLEANFILES= $(PROG)
- 
-diff -Nuar pmtools-20100123.orig/madt/Makefile pmtools-20100123/madt/Makefile
---- pmtools-20100123.orig/madt/Makefile        2005-11-11 18:07:04.000000000 
+0100
-+++ pmtools-20100123/madt/Makefile     2010-03-07 14:22:15.199017246 +0100
-@@ -1,6 +1,6 @@
- test: madt
-       ./madt < APIC
- madt: madt.c acpi.h tables.c
--      cc -o madt madt.c
-+      $(CC) $(CFLAGS) $(LDFLAGS) madt.c -o madt
- clean:
-       rm madt
-diff -Nuar pmtools-20100123.orig/turbostat/Makefile 
pmtools-20100123/turbostat/Makefile
---- pmtools-20100123.orig/turbostat/Makefile   2010-01-23 19:19:32.000000000 
+0100
-+++ pmtools-20100123/turbostat/Makefile        2010-03-07 14:26:10.473010923 
+0100
-@@ -4,7 +4,7 @@
- all: turbostat
- 
- $(PROG) : $(SRCS)
--      $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
-+      $(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG)
- 
- CLEANFILES= $(PROG)
- 

Reply via email to