Some missing includes cause failure build

This commit is contained in:
Roman Rakus 2010-01-20 19:33:37 +00:00
parent 8002c503c9
commit 0297243052
2 changed files with 20 additions and 1 deletions

13
cdrdao-1.2.3-stat.patch Normal file
View File

@ -0,0 +1,13 @@
diff -up cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat cdrdao-1.2.3/dao/ScsiIf-linux.cc
--- cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat 2010-01-20 20:11:36.000000000 +0100
+++ cdrdao-1.2.3/dao/ScsiIf-linux.cc 2010-01-20 20:14:07.000000000 +0100
@@ -19,6 +19,9 @@
#include <config.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>

View File

@ -1,7 +1,7 @@
Summary: Writes audio CD-Rs in disk-at-once (DAO) mode
Name: cdrdao
Version: 1.2.3
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://cdrdao.sourceforge.net/
@ -18,6 +18,8 @@ BuildRequires: libao-devel
# Only exclude s390
ExcludeArch: s390 s390x
# Missing includes causes failure build
Patch1: cdrdao-1.2.3-stat.patch
%description
Cdrdao records audio CD-Rs in disk-at-once (DAO) mode, based on a
@ -48,6 +50,7 @@ edition and silence insertion.
%prep
%setup -q
%patch -p1 -b .stat
%build
%configure \
@ -127,6 +130,9 @@ fi
%changelog
* Wed Jan 20 2010 Roman Rakus rrakus@redhat.com 1.2.3-5
- Some missing includes cause failure build
* Wed Jan 13 2010 Nikola Pajkovsky <npajkovs@redhat.com> - 1.2.3-4
- Merge review #225639
- no need option --with-mp3-support. it needs libmad(don't ship)