openbsd-ports/audio/audacity/patches/patch-lib-src_libnyquist_xlisp_xlprin_c
ajacoutot 130d7818ea - update audacity to latest version: 1.3.3
- add NO_REGRESS since regression tests have not been updated for more
than 3 years and upstream does not seem interested
- add a patch from deanna@ that makes audacity use portaudio v19 and
make full duplex work (well sort of, but at least it does not hang
anymore)

ok deanna@
2007-06-06 09:35:18 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-lib-src_libnyquist_xlisp_xlprin_c,v 1.3 2007/06/06 09:35:18 ajacoutot Exp $
--- lib-src/libnyquist/xlisp/xlprin.c.orig Wed Mar 28 09:18:58 2007
+++ lib-src/libnyquist/xlisp/xlprin.c Wed Mar 28 09:20:23 2007
@@ -245,7 +245,7 @@ LOCAL void putqstring(LVAL fptr, LVAL str)
void putatm(LVAL fptr, char *tag, LVAL val)
{
sprintf(buf,"#<%s: #",tag); xlputstr(fptr,buf);
- sprintf(buf,AFMT,(int)val); xlputstr(fptr,buf);
+ sprintf(buf,AFMT,(unsigned long)val); xlputstr(fptr,buf);
xlputc(fptr,'>');
}
@@ -254,7 +254,7 @@ LOCAL void putsubr(LVAL fptr, char *tag, LVAL val)
{
sprintf(buf,"#<%s-%s: #",tag,funtab[getoffset(val)].fd_name);
xlputstr(fptr,buf);
- sprintf(buf,AFMT,(int)val); xlputstr(fptr,buf);
+ sprintf(buf,AFMT,(unsigned long)val); xlputstr(fptr,buf);
xlputc(fptr,'>');
}
@@ -267,7 +267,7 @@ LOCAL void putclosure(LVAL fptr, LVAL val)
else
strcpy(buf,"#<Closure: #");
xlputstr(fptr,buf);
- sprintf(buf,AFMT,(int)val); xlputstr(fptr,buf);
+ sprintf(buf,AFMT,(unsigned long)val); xlputstr(fptr,buf);
xlputc(fptr,'>');
/*
xlputstr(fptr,"\nName: "); xlprint(fptr,getname(val),TRUE);