diff options
Diffstat (limited to 'base/cdrdao')
-rw-r--r-- | base/cdrdao/.md5sum | 1 | ||||
-rwxr-xr-x | base/cdrdao/Pkgfile | 8 | ||||
-rw-r--r-- | base/cdrdao/cdrdao-1.2.3-stat.patch | 13 |
3 files changed, 20 insertions, 2 deletions
diff --git a/base/cdrdao/.md5sum b/base/cdrdao/.md5sum index a84209052..40bcd44b9 100644 --- a/base/cdrdao/.md5sum +++ b/base/cdrdao/.md5sum @@ -1 +1,2 @@ +0fce05542ebad283f36fa1c4d62992a0 cdrdao-1.2.3-stat.patch 8d15ba6280bb7ba2f4d6be31d28b3c0c cdrdao-1.2.3.tar.bz2 diff --git a/base/cdrdao/Pkgfile b/base/cdrdao/Pkgfile index 371dfcf2b..37e3d06f4 100755 --- a/base/cdrdao/Pkgfile +++ b/base/cdrdao/Pkgfile @@ -6,11 +6,15 @@ name=cdrdao version=1.2.3 -release=1 -source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2) +release=2 +source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 \ + cdrdao-1.2.3-stat.patch) build() { cd $name-$version + + patch -Np1 -i $SRC/cdrdao-1.2.3-stat.patch + ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ diff --git a/base/cdrdao/cdrdao-1.2.3-stat.patch b/base/cdrdao/cdrdao-1.2.3-stat.patch new file mode 100644 index 000000000..5a68e7130 --- /dev/null +++ b/base/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> |