summaryrefslogtreecommitdiff
path: root/sysutils/tpb/patches
diff options
context:
space:
mode:
authorsoren <soren>2004-02-02 15:49:17 +0000
committersoren <soren>2004-02-02 15:49:17 +0000
commitce9482052ce08849fc0bd022b0741fabcf471401 (patch)
treeab5bfbd8c6721a300329bec2cc545984dec29882 /sysutils/tpb/patches
parentc7f8ca77afdb8dc0ab3498566a5d0aa7d990b702 (diff)
downloadpkgsrc-ce9482052ce08849fc0bd022b0741fabcf471401.tar.gz
This program enables the IBM Thinkpad(tm) special keys. It is possible to bind
a program to the ThinkPad button. It has a on-screen display (OSD) to show volume, mute and brightness of the LCD.
Diffstat (limited to 'sysutils/tpb/patches')
-rw-r--r--sysutils/tpb/patches/patch-aa11
-rw-r--r--sysutils/tpb/patches/patch-ab21
2 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/tpb/patches/patch-aa b/sysutils/tpb/patches/patch-aa
new file mode 100644
index 00000000000..8262f86e25e
--- /dev/null
+++ b/sysutils/tpb/patches/patch-aa
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2004-02-02 16:45:59.000000000 +0100
++++ src/Makefile.in 2004-02-02 16:46:29.000000000 +0100
+@@ -182,7 +182,7 @@
+
+ tpb: $(tpb_OBJECTS) $(tpb_DEPENDENCIES)
+ @rm -f tpb
+- $(LINK) $(tpb_LDFLAGS) $(tpb_OBJECTS) $(tpb_LDADD) $(LIBS)
++ $(LINK) $(tpb_LDFLAGS) $(tpb_OBJECTS) $(tpb_LDADD) $(LIBS) -R${LOCALBASE}/lib -R${X11BASE}/lib -lintl -lossaudio
+
+ tags: TAGS
+
diff --git a/sysutils/tpb/patches/patch-ab b/sysutils/tpb/patches/patch-ab
new file mode 100644
index 00000000000..852afcd2f2c
--- /dev/null
+++ b/sysutils/tpb/patches/patch-ab
@@ -0,0 +1,21 @@
+--- src/tpb.c.orig 2004-02-02 15:46:17.000000000 +0100
++++ src/tpb.c 2004-02-02 15:47:17.000000000 +0100
+@@ -22,14 +22,16 @@
+ #include <ctype.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+-#include <linux/soundcard.h>
++#include <sys/soundcard.h>
++#include <sys/wait.h>
++#include <locale.h>
++#include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+-#include <wait.h>
+ #include <X11/Xlib.h>
+ #include "config.h"
+