summaryrefslogtreecommitdiff
path: root/x11-plugins/wmacpi/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-26 11:42:28 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-26 11:42:28 +0000
commit89c6c06b8c42107dd231687a1012354e7d3039fc (patch)
treedad94f4da8a6694f3cb99f7048be2f9cf5f78f97 /x11-plugins/wmacpi/files
parent796cae72cf9ed18ba01256ac1f83a686a2a76036 (diff)
gentoo resync : 26.11.2017
Diffstat (limited to 'x11-plugins/wmacpi/files')
-rw-r--r--x11-plugins/wmacpi/files/1.34-acpi.patch17
-rw-r--r--x11-plugins/wmacpi/files/1.34-apm.patch17
-rw-r--r--x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch71
3 files changed, 0 insertions, 105 deletions
diff --git a/x11-plugins/wmacpi/files/1.34-acpi.patch b/x11-plugins/wmacpi/files/1.34-acpi.patch
deleted file mode 100644
index 76a94e57f77e..000000000000
--- a/x11-plugins/wmacpi/files/1.34-acpi.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig 2003-09-04 13:00:48.784055072 -0400
-+++ Makefile 2003-09-04 13:03:41.399813488 -0400
-@@ -11,11 +11,11 @@
- #OPT = -pg -g -DPRO -DACPI
-
- CC = gcc
--CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include
-+CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include -DACPI
- LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext
-
--SRCS = wmacpi.c libapm.c libacpi.c
--OBJS = wmacpi.o libapm.o libacpi.o
-+SRCS = wmacpi.c libacpi.c
-+OBJS = wmacpi.o libacpi.o
-
- all: wmacpi
-
diff --git a/x11-plugins/wmacpi/files/1.34-apm.patch b/x11-plugins/wmacpi/files/1.34-apm.patch
deleted file mode 100644
index 6b640b781b13..000000000000
--- a/x11-plugins/wmacpi/files/1.34-apm.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig 2003-09-04 13:00:48.784055072 -0400
-+++ Makefile 2003-09-04 13:04:23.297444080 -0400
-@@ -11,11 +11,11 @@
- #OPT = -pg -g -DPRO -DACPI
-
- CC = gcc
--CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include
-+CFLAGS = $(OPT) -Wall -ansi -I/usr/X11R6/include -DAPM
- LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext
-
--SRCS = wmacpi.c libapm.c libacpi.c
--OBJS = wmacpi.o libapm.o libacpi.o
-+SRCS = wmacpi.c libapm.c
-+OBJS = wmacpi.o libapm.o
-
- all: wmacpi
-
diff --git a/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch b/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch
deleted file mode 100644
index af142fd574ee..000000000000
--- a/x11-plugins/wmacpi/files/wmacpi-2.2_rc1-makefile.patch
+++ /dev/null
@@ -1,71 +0,0 @@
---- Makefile.orig 2007-07-13 17:26:30.000000000 +0200
-+++ Makefile 2008-01-28 16:36:41.000000000 +0100
-@@ -13,8 +13,8 @@
- #OPT = -pg -g
-
- CC := gcc
--CFLAGS := $(OPT) -Wall -W -g -ansi -I/usr/X11R6/include
--LDFLAGS := $(OPT) -lX11 -ldockapp
-+CFLAGS := $(OPT) -Wall -W -g -ansi -I/usr/include
-+LDFLAGS += -lX11 -ldockapp
-
- WMSRC := wmacpi.c libacpi.c
- HEADERS := libacpi.h wmacpi.h
-@@ -22,11 +22,12 @@
- doc_targets := wmacpi.1
-
- ifdef BUILD_CLI
--targets += acpi
--doc_targets += acpi.1
-+targets += acpi-batt-status
-+doc_targets += acpi-batt-status.1
- endif
-
--PREFIX := /usr/local
-+PREFIX := /usr
-+MANDIR := $(PREFIX)/share/man
-
- all: $(targets)
-
-@@ -34,20 +35,20 @@
- WMOBJ := $(patsubst %.c,%.o,$(filter %.c,$(WMSRC)))
-
- # include per-file dependencies
---include $(WMOBJ:.o=.d)
-+#-include $(WMOBJ:.o=.d)
-
- wmacpi: $(WMOBJ)
-- $(CC) $(LDFLAGS) -o $@ $^
-+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
-
- # for the Debian package, we want to make building the command line tools
- # optional. So, we hide all the necessary stuff here . . .
- ifdef BUILD_CLI
--CLSRC := acpi.c libacpi.c
-+CLSRC := acpi-batt-status.c libacpi.c
- CLOBJ := $(patsubst %.c,%.o,$(filter %.c,$(CLSRC)))
---include $(CLOBJ:.o=.d)
-+#-include $(CLOBJ:.o=.d)
-
--acpi: $(CLOBJ)
-- $(CC) $(LDFLAGS) -o $@ $^
-+acpi-batt-status: $(CLOBJ)
-+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
- endif
-
- # build per-file dependencies - note that -MM may not be supported
-@@ -62,10 +63,10 @@
- rm -f *.d $(targets)
-
- install: $(targets)
-- install -d $(PREFIX)/bin/
-- install -pc $(targets) $(PREFIX)/bin/
-- install -d $(PREFIX)/man/man1/
-- install -pc $(doc_targets) $(PREFIX)/man/man1/
-+ install -d $(DESTDIR)$(PREFIX)/bin/
-+ install -pc $(targets) $(DESTDIR)$(PREFIX)/bin/
-+ install -d $(DESTDIR)$(MANDIR)/man1/
-+ install -p -m 0644 $(doc_targets) $(DESTDIR)$(MANDIR)/man1/
-
- tags:
- etags $(WMSRC) $(CLSRC) $(HEADERS)