summaryrefslogtreecommitdiffstats
path: root/base/cdrdao
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-12-26 12:20:44 +0100
committersibel <lesibel@free.fr>2010-12-26 12:20:44 +0100
commit801b0ba51dd20cfce1abeed59707442213659f14 (patch)
treea81d7380bca429d7607b8c4e0539e38b1655091b /base/cdrdao
parent0eec782f8a18abbcf644ba5e54ab1b4e79477416 (diff)
downloadnutyx-pakxe-801b0ba51dd20cfce1abeed59707442213659f14.tar.gz
nutyx-pakxe-801b0ba51dd20cfce1abeed59707442213659f14.tar.bz2
nutyx-pakxe-801b0ba51dd20cfce1abeed59707442213659f14.tar.xz
nutyx-pakxe-801b0ba51dd20cfce1abeed59707442213659f14.zip
cdrdao#1.2.3-2., maj port
Diffstat (limited to 'base/cdrdao')
-rw-r--r--base/cdrdao/.md5sum1
-rwxr-xr-xbase/cdrdao/Pkgfile8
-rw-r--r--base/cdrdao/cdrdao-1.2.3-stat.patch13
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>