wok rev 8650

Fixed cdrdao.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 15 19:58:17 2011 +0000 (2011-02-15)
parents 76eacc0d12f7
children b7657ab06793
files cdrdao/receipt cdrdao/stuff/cdrdao-1.2.3-stat.patch
line diff
     1.1 --- a/cdrdao/receipt	Tue Feb 15 19:39:13 2011 +0000
     1.2 +++ b/cdrdao/receipt	Tue Feb 15 19:58:17 2011 +0000
     1.3 @@ -25,6 +25,7 @@
     1.4  	grep -qs 'define u8' scsilib/libscg/scsi-linux-sg.c ||
     1.5  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
     1.6  		scsilib/libscg/scsi-linux-sg.c
     1.7 +	patch -Np1 -i ../stuff/$PACKAGE-$VERSION-stat.patch || return 1
     1.8  	./configure --prefix=/usr --with-lame &&
     1.9  	make &&
    1.10  	make DESTDIR=$PWD/_pkg install
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/cdrdao/stuff/cdrdao-1.2.3-stat.patch	Tue Feb 15 19:58:17 2011 +0000
     2.3 @@ -0,0 +1,13 @@
     2.4 +diff -up cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat cdrdao-1.2.3/dao/ScsiIf-linux.cc
     2.5 +--- cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat	2010-01-20 20:11:36.000000000 +0100
     2.6 ++++ cdrdao-1.2.3/dao/ScsiIf-linux.cc	2010-01-20 20:14:07.000000000 +0100
     2.7 +@@ -19,6 +19,9 @@
     2.8 + 
     2.9 + #include <config.h>
    2.10 + 
    2.11 ++#include <sys/types.h>
    2.12 ++#include <sys/stat.h>
    2.13 ++
    2.14 + #include <stdio.h>
    2.15 + #include <fcntl.h>
    2.16 + #include <unistd.h>