pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/sox/patches Make SoX work correctly on systems (...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9a282344cb5
branches:  trunk
changeset: 497913:b9a282344cb5
user:      bjh21 <bjh21%pkgsrc.org@localhost>
date:      Sun Aug 07 13:26:32 2005 +0000

description:
Make SoX work correctly on systems (such as NetBSD/powerpc and NetBSD/arm)
where "char" is unsigned by default.

diffstat:

 audio/sox/patches/patch-ac |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r e80267deff31 -r b9a282344cb5 audio/sox/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sox/patches/patch-ac        Sun Aug 07 13:26:32 2005 +0000
@@ -0,0 +1,15 @@
+--- src/st.h~  Mon Dec 20 19:48:54 2004
++++ src/st.h   Sun Aug  7 13:27:21 2005
+@@ -68,9 +68,9 @@
+ typedef struct  st_signalinfo
+ {
+     st_rate_t rate;      /* sampling rate */
+-    char size;           /* word length of data */
+-    char encoding;       /* format of sample numbers */
+-    char channels;       /* number of sound channels */
++    signed char size;           /* word length of data */
++    signed char encoding;       /* format of sample numbers */
++    signed char channels;       /* number of sound channels */
+ } st_signalinfo_t;
+ 
+ /* Loop parameters */



Home | Main Index | Thread Index | Old Index