ref: a030e6958fdafd28a65dcc563981b378aaf87c09
parent: c2fda8f3e4f3623d1766d37078fb05d3ef6dbbe8
author: Mans Rullgard <mans@mansr.com>
date: Thu Aug 27 06:21:30 EDT 2020
libsox: fix missing version string [bug #306] The sox_version() function is incorrectly marked as pure. When built with clang, this causes the returned string to be blank. Dropping the pure attribute fixes this.
--- a/src/sox.h
+++ b/src/sox.h
@@ -1621,7 +1621,7 @@
Returns version number string of libSoX, for example, "14.4.0".
@returns The version number string of libSoX, for example, "14.4.0".
*/
-LSX_RETURN_VALID_Z LSX_RETURN_PURE
+LSX_RETURN_VALID_Z
char const *
LSX_API
sox_version(void);