- added string.h includes to make it compile again

This commit is contained in:
Harald Hoyer 2008-02-18 12:26:25 +00:00
parent 801b64b3c4
commit 03e9b82759
2 changed files with 28 additions and 1 deletions

22
cdrdao-1.2.2-gcc43.patch Normal file
View File

@ -0,0 +1,22 @@
diff -up cdrdao-1.2.2/trackdb/FormatConverter.cc.gcc43 cdrdao-1.2.2/trackdb/FormatConverter.cc
--- cdrdao-1.2.2/trackdb/FormatConverter.cc.gcc43 2008-02-18 13:17:53.000000000 +0100
+++ cdrdao-1.2.2/trackdb/FormatConverter.cc 2008-02-18 13:18:11.000000000 +0100
@@ -18,6 +18,7 @@
*/
#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_AO
#include <ao/ao.h>
#endif
diff -up cdrdao-1.2.2/trackdb/TempFileManager.cc.gcc43 cdrdao-1.2.2/trackdb/TempFileManager.cc
--- cdrdao-1.2.2/trackdb/TempFileManager.cc.gcc43 2005-04-22 04:01:46.000000000 +0200
+++ cdrdao-1.2.2/trackdb/TempFileManager.cc 2008-02-18 13:14:14.000000000 +0100
@@ -24,6 +24,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
+#include <string.h>
#define DEFAULT_TEMP_PATH "/tmp/"

View File

@ -1,13 +1,14 @@
Summary: Writes audio CD-Rs in disk-at-once (DAO) mode Summary: Writes audio CD-Rs in disk-at-once (DAO) mode
Name: cdrdao Name: cdrdao
Version: 1.2.2 Version: 1.2.2
Release: 3 Release: 4
License: GPLv2 License: GPLv2
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://cdrdao.sourceforge.net/ URL: http://cdrdao.sourceforge.net/
Source: http://easynews.dl.sourceforge.net/sourceforge/cdrdao/%{name}-%{version}.tar.bz2 Source: http://easynews.dl.sourceforge.net/sourceforge/cdrdao/%{name}-%{version}.tar.bz2
Patch1: mkisofs-changelog.patch Patch1: mkisofs-changelog.patch
Patch2: cdrdao-1.2.2-gcc43.patch
Patch9: cdrdao-1.1.7-endianness.patch Patch9: cdrdao-1.1.7-endianness.patch
Patch23: cdrtools-2.01a27-silly-warnings.patch Patch23: cdrtools-2.01a27-silly-warnings.patch
Patch30: cdrtools-2.0-O_EXCL.patch Patch30: cdrtools-2.0-O_EXCL.patch
@ -33,6 +34,7 @@ of pre-gaps, the pause areas between tracks.
%setup -q %setup -q
chmod a+rX -R . chmod a+rX -R .
%patch1 -p1 -b .changelog %patch1 -p1 -b .changelog
%patch2 -p1 -b .gcc43
%patch9 -p1 -b .endian %patch9 -p1 -b .endian
%patch23 -p1 -b .silly %patch23 -p1 -b .silly
%patch30 -p1 -b .excl %patch30 -p1 -b .excl
@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Mon Feb 18 2008 harald@redhat.com 1.2.2-4
- added string.h includes to make it compile again
* Fri Aug 17 2007 Harald Hoyer <harald@redhat.com> - 1.2.2-3 * Fri Aug 17 2007 Harald Hoyer <harald@redhat.com> - 1.2.2-3
- changed license to GPLv2 - changed license to GPLv2