New package: dvd+rw-tools-7.1 (#1047)
This commit is contained in:
parent
e15cb0f64a
commit
9216359e1c
5 changed files with 67 additions and 0 deletions
13
srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-dvddl.patch
Normal file
13
srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-dvddl.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- ./growisofs_mmc.cpp.joe 2006-04-27 20:45:00.788446635 +0200
|
||||
+++ ./growisofs_mmc.cpp 2006-04-27 20:46:01.666824300 +0200
|
||||
@@ -1412,9 +1412,7 @@
|
||||
blocks += 15, blocks &= ~15;
|
||||
|
||||
if (blocks <= split)
|
||||
- fprintf (stderr,":-( more than 50%% of space will be *wasted*!\n"
|
||||
- " use single layer media for this recording\n"),
|
||||
- exit (FATAL_START(EMEDIUMTYPE));
|
||||
+ fprintf (stderr,":-? more than 50%% of space will be *wasted*!\n");
|
||||
|
||||
blocks /= 16;
|
||||
blocks += 1;
|
|
@ -0,0 +1,11 @@
|
|||
diff -up transport.hxx.glibc2.6.90 transport.hxx
|
||||
--- transport.hxx.glibc2.6.90 2007-08-15 12:56:17.000000000 +0200
|
||||
+++ transport.hxx 2007-08-15 12:56:42.000000000 +0200
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
+#include <limits.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
11
srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wctomb.patch
Normal file
11
srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wctomb.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- transport.hxx~ 2008-03-25 21:24:47.000000000 -0400
|
||||
+++ transport.hxx 2008-03-25 21:25:36.000000000 -0400
|
||||
@@ -116,7 +116,7 @@
|
||||
extern "C" char *plusminus_locale()
|
||||
{ static class __plusminus {
|
||||
private:
|
||||
- char str[4];
|
||||
+ char str[MB_LEN_MAX];
|
||||
public:
|
||||
__plusminus() { setlocale(LC_CTYPE,ENV_LOCALE);
|
||||
int l = wctomb(str,(wchar_t)(unsigned char)'±');
|
11
srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wexit.patch
Normal file
11
srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wexit.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- dvd+rw-format.cpp.wexit 2007-06-21 12:42:30.000000000 +0200
|
||||
+++ dvd+rw-format.cpp 2007-06-21 12:44:13.000000000 +0200
|
||||
@@ -245,7 +245,7 @@ int main (int argc, char *argv[])
|
||||
alarm(1);
|
||||
while ((waitpid(pid,&i,0) != pid) && !WIFEXITED(i)) ;
|
||||
if (WEXITSTATUS(i) == 0) fprintf (stderr,"\n");
|
||||
- exit (0);
|
||||
+ exit (WEXITSTATUS(i));
|
||||
}
|
||||
#endif
|
||||
|
21
srcpkgs/dvd+rw-tools/template
Normal file
21
srcpkgs/dvd+rw-tools/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'dvd+rw-tools'
|
||||
pkgname=dvd+rw-tools
|
||||
version=7.1
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="m4"
|
||||
short_desc="A set of tools for DVD+RW/-RW drives"
|
||||
maintainer="Duncaen <mail@duncano.de>"
|
||||
license="GPL-2"
|
||||
homepage="http://fy.chalmers.se/~appro/linux/DVD+RW/"
|
||||
distfiles="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${pkgname}-${version}.tar.gz"
|
||||
checksum=f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca
|
||||
|
||||
do_install() {
|
||||
vbin growisofs
|
||||
vbin dvd+rw-booktype
|
||||
vbin dvd+rw-format
|
||||
vbin dvd+rw-mediainfo
|
||||
vbin dvd-ram-control
|
||||
vman growisofs.1
|
||||
}
|
Loading…
Reference in a new issue