xmw 14/10/09 05:58:49 Added: spek-0.8.3-stdlib.patch Log: Include stdlib.h for malloc and free (bug 519450) (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Revision Changes Path 1.1 media-sound/spek/files/spek-0.8.3-stdlib.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/spek/files/spek-0.8.3-stdlib.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/spek/files/spek-0.8.3-stdlib.patch?rev=1.1&content-type=text/plain Index: spek-0.8.3-stdlib.patch =================================================================== https://bugs.gentoo.org/519450 --- spek-0.8.3/src/spek-fft.cc +++ spek-0.8.3/src/spek-fft.cc @@ -17,6 +17,7 @@ */ #include <math.h> +#include <stdlib.h> #define __STDC_CONSTANT_MACROS extern "C" { --- spek-0.8.3/src/spek-events.cc +++ spek-0.8.3/src/spek-events.cc @@ -16,6 +16,7 @@ * along with Spek. If not, see <http://www.gnu.org/licenses/>. */ +#include <stdlib.h> #include "spek-events.h" //IMPLEMENT_DYNAMIC_CLASS(SpekHaveSampleEvent, wxEvent)