diff options
Diffstat (limited to 'media-sound/rcenter/files')
-rw-r--r-- | media-sound/rcenter/files/rcenter-0.6.2-Wimplicit-function-declaration.patch | 11 | ||||
-rw-r--r-- | media-sound/rcenter/files/rcenter-0.6.2-makefile.patch | 15 |
2 files changed, 21 insertions, 5 deletions
diff --git a/media-sound/rcenter/files/rcenter-0.6.2-Wimplicit-function-declaration.patch b/media-sound/rcenter/files/rcenter-0.6.2-Wimplicit-function-declaration.patch new file mode 100644 index 000000000000..00de497890f0 --- /dev/null +++ b/media-sound/rcenter/files/rcenter-0.6.2-Wimplicit-function-declaration.patch @@ -0,0 +1,11 @@ +--- a/main.c ++++ b/main.c +@@ -28,6 +28,8 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <unistd.h> ++#include <stdio.h> ++#include <stdlib.h> + + // use the first one of these that exists + static char *default_device[] = {"/dev/midi00", "/dev/midi", NULL}; diff --git a/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch b/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch index 2c5fbd761a83..aa579b0d9253 100644 --- a/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch +++ b/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch @@ -1,8 +1,13 @@ -Index: rcenter-0.6.2/Makefile -=================================================================== ---- rcenter-0.6.2.orig/Makefile -+++ rcenter-0.6.2/Makefile -@@ -19,9 +19,9 @@ button.o : button.c +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,4 @@ + ALLFILES = *.c *.h Makefile LICENSE HISTORY README config +-CC = gcc +-CFLAGS = -O2 + BINARIES = rcenter + PREFIX= /usr/local + +@@ -19,9 +17,9 @@ main.o : main.c rcenter : main.o lowlevel.o handler.o button.o |