forked from ports/contrib
cdrdao: fixes compile bug FS#1063
This commit is contained in:
parent
c6c48674a2
commit
bcfe24b9a7
@ -1 +1,2 @@
|
||||
0fce05542ebad283f36fa1c4d62992a0 cdrdao-1.2.3-stat.patch
|
||||
8d15ba6280bb7ba2f4d6be31d28b3c0c cdrdao-1.2.3.tar.bz2
|
||||
|
@ -5,12 +5,15 @@
|
||||
|
||||
name=cdrdao
|
||||
version=1.2.3
|
||||
release=1
|
||||
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
|
||||
release=2
|
||||
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2
|
||||
cdrdao-1.2.3-stat.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -p1 -i $SRC/cdrdao-1.2.3-stat.patch
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--without-lame
|
||||
|
13
cdrdao/cdrdao-1.2.3-stat.patch
Normal file
13
cdrdao/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>
|
Loading…
x
Reference in New Issue
Block a user