diff options
author | bjh21 <bjh21> | 2005-08-07 13:26:32 +0000 |
---|---|---|
committer | bjh21 <bjh21> | 2005-08-07 13:26:32 +0000 |
commit | 38e1de89e02b931ba4fa3bd706d6c58f3ede75df (patch) | |
tree | 497f1fa9a1c47a4468c0b50e6507a886a5aff5a6 /audio/sox | |
parent | e06d665cbd6e86635728eca2000f0da3c85d2155 (diff) | |
download | pkgsrc-38e1de89e02b931ba4fa3bd706d6c58f3ede75df.tar.gz |
Make SoX work correctly on systems (such as NetBSD/powerpc and NetBSD/arm)
where "char" is unsigned by default.
Diffstat (limited to 'audio/sox')
-rw-r--r-- | audio/sox/patches/patch-ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/sox/patches/patch-ac b/audio/sox/patches/patch-ac new file mode 100644 index 00000000000..567b2e1d178 --- /dev/null +++ b/audio/sox/patches/patch-ac @@ -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 */ |