summaryrefslogtreecommitdiff
path: root/sysutils/tpb/patches
diff options
context:
space:
mode:
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"
+