summaryrefslogtreecommitdiff
path: root/x11-plugins/wmacpi/files/1.34-apm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmacpi/files/1.34-apm.patch')
-rw-r--r--x11-plugins/wmacpi/files/1.34-apm.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-plugins/wmacpi/files/1.34-apm.patch b/x11-plugins/wmacpi/files/1.34-apm.patch
new file mode 100644
index 000000000000..6b640b781b13
--- /dev/null
+++ b/x11-plugins/wmacpi/files/1.34-apm.patch
@@ -0,0 +1,17 @@
+--- 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
+