commit bcfe24b9a731ca3fc9f2a1aef647d49653bb0506 Author: Danny Rawlins <monster.romster@gmail.com> Date: Wed Oct 1 22:28:47 2014 +1000 cdrdao: fixes compile bug FS#1063 diff --git a/cdrdao/.md5sum b/cdrdao/.md5sum index a842090..40bcd44 100644 --- a/cdrdao/.md5sum +++ b/cdrdao/.md5sum @@ -1 +1,2 @@ +0fce05542ebad283f36fa1c4d62992a0 cdrdao-1.2.3-stat.patch 8d15ba6280bb7ba2f4d6be31d28b3c0c cdrdao-1.2.3.tar.bz2 diff --git a/cdrdao/Pkgfile b/cdrdao/Pkgfile index d86ed73..0e3b0a5 100644 --- a/cdrdao/Pkgfile +++ b/cdrdao/Pkgfile @@ -5,12 +5,15 @@ name=cdrdao version=1.2.3 -release=1 -source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version...) +release=2 +source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version... + 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 diff --git a/cdrdao/cdrdao-1.2.3-stat.patch b/cdrdao/cdrdao-1.2.3-stat.patch new file mode 100644 index 0000000..5a68e71 --- /dev/null +++ b/cdrdao/cdrdao-1.2.3-stat.patch @@ -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>