slackbuilds_ponce/audio/midillo/midillo_compile_fix.diff
B. Watson a952af625b audio/midillo: Added (MIDI file tools).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-01-29 23:21:04 -06:00

24 lines
956 B
Diff

diff -Naur midillo-0.0/lib/SMF.cc midillo-0.0.patched//lib/SMF.cc
--- midillo-0.0/lib/SMF.cc 2006-08-10 18:21:34.000000000 -0400
+++ midillo-0.0.patched//lib/SMF.cc 2012-08-23 14:21:38.000000000 -0400
@@ -1,3 +1,4 @@
+#include <string.h>
#include <iostream>
#include <fstream>
#include <algorithm>
diff -Naur midillo-0.0/lib/message.cc midillo-0.0.patched//lib/message.cc
--- midillo-0.0/lib/message.cc 2006-08-11 07:05:16.000000000 -0400
+++ midillo-0.0.patched//lib/message.cc 2012-08-23 14:23:17.000000000 -0400
@@ -1,3 +1,4 @@
+#include <assert.h>
#include <algorithm>
#include <iterator>
#include <midillo/message.h>
diff -Naur midillo-0.0/tools/mididump.cc midillo-0.0.patched//tools/mididump.cc
--- midillo-0.0/tools/mididump.cc 2006-08-11 06:40:20.000000000 -0400
+++ midillo-0.0.patched//tools/mididump.cc 2012-08-23 14:24:23.000000000 -0400
@@ -1,3 +1,4 @@
+#include <string.h>
#include <getopt.h>
#include <iostream>
#include <fstream>