1
0
forked from ports/contrib

cdrdao: fixes compile bug FS#1063

This commit is contained in:
Danny Rawlins 2014-10-01 22:28:47 +10:00
parent c6c48674a2
commit bcfe24b9a7
3 changed files with 19 additions and 2 deletions

View File

@ -1 +1,2 @@
0fce05542ebad283f36fa1c4d62992a0 cdrdao-1.2.3-stat.patch
8d15ba6280bb7ba2f4d6be31d28b3c0c cdrdao-1.2.3.tar.bz2

View File

@ -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

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>