commit:     063382e0138da8fc4066cb9590b814023d963382
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail 
<DOT> com>
AuthorDate: Sat Feb 18 15:41:49 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 22:07:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063382e0

x11-plugins/wmacpi: remove unused patches

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

 x11-plugins/wmacpi/files/2.1rc1-nodeps.patch   | 20 ------------------
 x11-plugins/wmacpi/files/2.1rc1-windowed.patch | 29 --------------------------
 2 files changed, 49 deletions(-)

diff --git a/x11-plugins/wmacpi/files/2.1rc1-nodeps.patch 
b/x11-plugins/wmacpi/files/2.1rc1-nodeps.patch
deleted file mode 100644
index 60c29ace25..0000000000
--- a/x11-plugins/wmacpi/files/2.1rc1-nodeps.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- wmacpi-2.1rc1/Makefile.orig        2005-01-25 09:55:01.637030220 +0100
-+++ wmacpi-2.1rc1/Makefile     2005-01-25 09:55:19.265329634 +0100
-@@ -34,7 +34,7 @@
- WMOBJ := $(patsubst %.c,%.o,$(filter %.c,$(WMSRC)))
- 
- # include per-file dependencies
--include $(WMOBJ:.o=.d)
-+#include $(WMOBJ:.o=.d)
- 
- wmacpi:       $(WMOBJ)
-       $(CC) $(LDFLAGS) -o $@ $^
-@@ -44,7 +44,7 @@
- ifdef BUILD_CLI
- CLSRC := acpi.c libacpi.c
- CLOBJ := $(patsubst %.c,%.o,$(filter %.c,$(CLSRC)))
--include $(CLOBJ:.o=.d)
-+#include $(CLOBJ:.o=.d)
- 
- acpi: $(CLOBJ)
-       $(CC) $(LDFLAGS) -o $@ $^

diff --git a/x11-plugins/wmacpi/files/2.1rc1-windowed.patch 
b/x11-plugins/wmacpi/files/2.1rc1-windowed.patch
deleted file mode 100644
index 844183727e..0000000000
--- a/x11-plugins/wmacpi/files/2.1rc1-windowed.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- wmacpi-2.1rc1/wmacpi.c.orig        2005-01-05 07:16:09.000000000 +0100
-+++ wmacpi-2.1rc1/wmacpi.c     2005-01-25 10:03:47.933403683 +0100
-@@ -574,7 +574,8 @@
-          "\t\t\tdefault 20 (once every three seconds)\n"
-          "-f\t\t\tforce the use of capacity mode for calculating time 
remaining\n"
-          "-n\t\t\tdo not blink\n"
--         "-w\t\t\trun in command line mode\n"
-+         "-w\t\t\trun in windowed mode\n"
-+         "-x\t\t\trun in command line mode\n"
-          "-a <samples>\t\tsamples to average over (cli mode only)\n"
-          "-v\t\t\tincrease verbosity\n"
-          "\t\t\tcan be used multiple times to increase verbosity further\n"
-@@ -728,9 +729,15 @@
-       case 'n':
-           dockapp->blink = 0;
-           break;
--      case 'w':
-+      case 'x':
-           cli = 1;
-           break;
-+      case 'w':
-+          {
-+              char *args[] = { "", "-w" };
-+              DAParseArguments(2, args, NULL, 0, "", "");
-+          }
-+          break;
-       case 'a':
-           if(optarg != NULL) {
-               samples = atoi(optarg);

Reply via email to