openbsd-ports/audio/calf/patches/patch-src_ctl_keyboard_cpp
2014-11-18 10:17:17 +00:00

16 lines
465 B
Plaintext

$OpenBSD: patch-src_ctl_keyboard_cpp,v 1.1 2014/11/18 10:17:17 brad Exp $
Replace the malloc.h header with stdlib.h
--- src/ctl_keyboard.cpp.orig Mon Nov 3 22:44:21 2014
+++ src/ctl_keyboard.cpp Mon Nov 3 22:45:31 2014
@@ -22,7 +22,7 @@
*/
#include <calf/ctl_keyboard.h>
#include <stdint.h>
-#include <malloc.h>
+#include <stdlib.h>
static const int semitones_b[] = { 1, 3, -1, 6, 8, 10, -1 };
static const int semitones_w[] = { 0, 2, 4, 5, 7, 9, 11 };