cdrdao: extended gcc patch (thanks Till)

This commit is contained in:
Simone Rota 2008-11-29 16:01:19 +01:00
parent d6f2aa719c
commit c24815faa5
3 changed files with 26 additions and 2 deletions

View File

@ -1,2 +1,2 @@
f0cbf36907406cb4f4c568f9e6669a34 cdrdao-1.2.2.tar.bz2
56bd397438f8fc8092839c99eb393eeb cdrdao-gcc.patch
37018330b71644d25a9e9c8ebc3c90cd cdrdao-gcc.patch

View File

@ -6,7 +6,7 @@
name=cdrdao
version=1.2.2
release=2
release=3
source=(http://dl.sourceforge.net/sourceforge/cdrdao/cdrdao-$version.tar.bz2 \
$name-gcc.patch)

View File

@ -9,6 +9,7 @@ diff -Nru cdrdao-1.2.2.orig/trackdb/FormatConverter.cc cdrdao-1.2.2/trackdb/Form
#ifdef HAVE_AO
#include <ao/ao.h>
#endif
diff -Nru cdrdao-1.2.2.orig/trackdb/TempFileManager.cc cdrdao-1.2.2/trackdb/TempFileManager.cc
--- cdrdao-1.2.2.orig/trackdb/TempFileManager.cc 2008-11-23 17:20:52.036880285 +0100
+++ cdrdao-1.2.2/trackdb/TempFileManager.cc 2008-11-23 17:25:23.173215341 +0100
@ -19,4 +20,27 @@ diff -Nru cdrdao-1.2.2.orig/trackdb/TempFileManager.cc cdrdao-1.2.2/trackdb/Temp
+#include <string.h>
#define DEFAULT_TEMP_PATH "/tmp/"
diff -Nru cdrdao-1.2.2.orig/trackdb/FormatMp3.cc cdrdao-1.2.2/trackdb/FormatMp3.cc
--- cdrdao-1.2.2.orig/trackdb/FormatMp3.cc 2008-11-28 15:04:06.000000000 +0100
+++ cdrdao-1.2.2/trackdb/FormatMp3.cc 2008-11-28 15:05:24.000000000 +0100
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
diff -Nru cdrdao-1.2.2.orig/trackdb/FormatOgg.cc cdrdao-1.2.2/trackdb/FormatOgg.cc
--- cdrdao-1.2.2.orig/trackdb/FormatOgg.cc 2008-11-28 15:04:06.000000000 +0100
+++ cdrdao-1.2.2/trackdb/FormatOgg.cc 2008-11-28 15:18:36.000000000 +0100
@@ -18,6 +18,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include "util.h"
#include "FormatOgg.h"