FreeBSD Bugzilla – Attachment 159309 Details for
Bug 201926
[patch] games/iourbanterror: error: conflicting types for 'speex_bits_read_from'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch for games/iourbanterror on CURRENT and most recent ports/tree
iourbanterror.patch.txt (text/plain), 1.41 KB, created by
O. Hartmann
on 2015-07-27 16:34:06 UTC
(
hide
)
Description:
Patch for games/iourbanterror on CURRENT and most recent ports/tree
Filename:
MIME Type:
Creator:
O. Hartmann
Created:
2015-07-27 16:34:06 UTC
Size:
1.41 KB
patch
obsolete
>diff -Nur iourbanterror.orig/files/patch-code-libspeex-bits.c iourbanterror/files/patch-code-libspeex-bits.c >--- iourbanterror.orig/files/patch-code-libspeex-bits.c 1970-01-01 01:00:00.000000000 +0100 >+++ iourbanterror/files/patch-code-libspeex-bits.c 2015-07-27 18:32:36.283370000 +0200 >@@ -0,0 +1,38 @@ >+--- code/libspeex/bits.c.orig 2008-06-01 20:53:28.000000000 +0200 >++++ code/libspeex/bits.c 2015-07-27 18:31:58.458892000 +0200 >+@@ -106,7 +106,7 @@ >+ bits->overflow=0; >+ } >+ >+-void speex_bits_read_from(SpeexBits *bits, char *chars, int len) >++void speex_bits_read_from(SpeexBits *bits, const char *bytes, int len) >+ { >+ int i; >+ int nchars = len / BYTES_PER_CHAR; >+@@ -136,7 +136,7 @@ >+ #define HTOLS(A) (A) >+ #endif >+ for (i=0;i<nchars;i++) >+- bits->chars[i]=HTOLS(chars[i]); >++ bits->chars[i]=HTOLS(bytes[i]); >+ >+ bits->nbBits=nchars<<LOG2_BITS_PER_CHAR; >+ bits->charPtr=0; >+@@ -153,7 +153,7 @@ >+ bits->charPtr=0; >+ } >+ >+-void speex_bits_read_whole_bytes(SpeexBits *bits, char *chars, int nbytes) >++void speex_bits_read_whole_bytes(SpeexBits *bits, const char *bytes, int nbytes) >+ { >+ int i,pos; >+ int nchars = nbytes/BYTES_PER_CHAR; >+@@ -181,7 +181,7 @@ >+ speex_bits_flush(bits); >+ pos=bits->nbBits>>LOG2_BITS_PER_CHAR; >+ for (i=0;i<nchars;i++) >+- bits->chars[pos+i]=HTOLS(chars[i]); >++ bits->chars[pos+i]=HTOLS(bytes[i]); >+ bits->nbBits+=nchars<<LOG2_BITS_PER_CHAR; >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201926
: 159309 |
161502