New package: dvd+rw-tools-7.1 (#1047)

This commit is contained in:
Duncaen 2015-03-03 22:00:35 +01:00
parent e15cb0f64a
commit 9216359e1c
5 changed files with 67 additions and 0 deletions

View 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;

View file

@ -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>

View 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)'±');

View 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

View 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
}