diff options
-rw-r--r-- | cdrdao/.md5sum | 2 | ||||
-rw-r--r-- | cdrdao/Pkgfile | 2 | ||||
-rw-r--r-- | cdrdao/cdrdao-gcc.patch | 24 |
3 files changed, 26 insertions, 2 deletions
diff --git a/cdrdao/.md5sum b/cdrdao/.md5sum index ac0fcf2d5..d07073b1b 100644 --- a/cdrdao/.md5sum +++ b/cdrdao/.md5sum @@ -1,2 +1,2 @@ f0cbf36907406cb4f4c568f9e6669a34 cdrdao-1.2.2.tar.bz2 -56bd397438f8fc8092839c99eb393eeb cdrdao-gcc.patch +37018330b71644d25a9e9c8ebc3c90cd cdrdao-gcc.patch diff --git a/cdrdao/Pkgfile b/cdrdao/Pkgfile index d4937636c..1107dd1c2 100644 --- a/cdrdao/Pkgfile +++ b/cdrdao/Pkgfile @@ -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) diff --git a/cdrdao/cdrdao-gcc.patch b/cdrdao/cdrdao-gcc.patch index 371a639a5..e16bd54ce 100644 --- a/cdrdao/cdrdao-gcc.patch +++ b/cdrdao/cdrdao-gcc.patch @@ -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" |