diff options
author | bjh21 <bjh21@pkgsrc.org> | 2005-08-07 13:26:32 +0000 |
---|---|---|
committer | bjh21 <bjh21@pkgsrc.org> | 2005-08-07 13:26:32 +0000 |
commit | 3e5e285459bdb3d76af07dfceccc24eafe84c202 (patch) | |
tree | 497f1fa9a1c47a4468c0b50e6507a886a5aff5a6 /audio/sox | |
parent | 0682c5cbf619c67c87d15405caa690260e569077 (diff) | |
download | pkgsrc-3e5e285459bdb3d76af07dfceccc24eafe84c202.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 */ |