Ticket #5404: 12_missing_malloc.dpatch

File 12_missing_malloc.dpatch, 1.2 KB (added by Mario Limonciello <superm1@…>, 16 years ago)
Line 
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## 12_missing_malloc.dpatch by Mario Limonciello <superm1@ubuntu.com>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: Add missing malloc includes needed for G++ 4.3.1
6
7@DPATCH@
8diff -urNad mythplugins-0.21.0+fixes17416~/mythmusic/mythmusic/aacdecoder.cpp mythplugins-0.21.0+fixes17416/mythmusic/mythmusic/aacdecoder.cpp
9--- mythplugins-0.21.0+fixes17416~/mythmusic/mythmusic/aacdecoder.cpp   2008-06-01 18:16:43.000000000 -0500
10+++ mythplugins-0.21.0+fixes17416/mythmusic/mythmusic/aacdecoder.cpp    2008-06-03 08:40:20.000000000 -0500
11@@ -19,6 +19,7 @@
12 #include <qobject.h>
13 #include <qiodevice.h>
14 #include <qfile.h>
15+#include <malloc.h>
16 
17 #include "aacdecoder.h"
18 #include "constants.h"
19diff -urNad mythplugins-0.21.0+fixes17416~/mythmusic/mythmusic/metaiomp4.cpp mythplugins-0.21.0+fixes17416/mythmusic/mythmusic/metaiomp4.cpp
20--- mythplugins-0.21.0+fixes17416~/mythmusic/mythmusic/metaiomp4.cpp    2006-08-21 21:06:03.000000000 -0500
21+++ mythplugins-0.21.0+fixes17416/mythmusic/mythmusic/metaiomp4.cpp     2008-06-03 08:40:37.000000000 -0500
22@@ -3,6 +3,7 @@
23 #include <fcntl.h>
24 #include <unistd.h>
25 #include <sys/types.h>
26+#include <malloc.h>
27 
28 using namespace std;
29