sbl/sblsrc-2.2.dif

31 lines
882 B
Plaintext

prog/speech/softspeech_server.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: sblsrc-2.2/prog/speech/softspeech_server.c
================================================================================
--- sblsrc-2.2/prog/Makefile
+++ sblsrc-2.2/prog/Makefile
@@ -44,7 +44,7 @@
#LD = gcc
LD = $(COMPCPP)
COMMONLDFLAGS = -rdynamic
-LDFLAGS = $(COMMONLDFLAGS) -s
+LDFLAGS = $(COMMONLDFLAGS)
LDLIBS = -L. -lspeech -ldl
PREFIX =
##BRL_TARGETS = Fhp_usb
--- sblsrc-2.2/prog/speech/softspeech_server.c
+++ sblsrc-2.2/prog/speech/softspeech_server.c
@@ -1780,9 +1780,9 @@
strsignal(signum));
#if defined(__PPC__)
- addr = info.regs->nip;
+ addr = (void*) info.regs->nip;
#elif defined(__i386__)
- addr = info.eip;
+ addr = (void*) info.eip;
#endif
min_j = 0;
min_diff = (uintptr_t)addr - (uintptr_t)symbols[0].value;