Some missing includes cause failure build
This commit is contained in:
parent
8002c503c9
commit
0297243052
13
cdrdao-1.2.3-stat.patch
Normal file
13
cdrdao-1.2.3-stat.patch
Normal 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>
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user