From 9216359e1c0597b33afd4bb5c78d3bb658ba3799 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 3 Mar 2015 22:00:35 +0100 Subject: [PATCH] New package: dvd+rw-tools-7.1 (#1047) --- .../patches/dvd+rw-tools-7.0-dvddl.patch | 13 ++++++++++++ .../dvd+rw-tools-7.0-glibc2.6.90.patch | 11 ++++++++++ .../patches/dvd+rw-tools-7.0-wctomb.patch | 11 ++++++++++ .../patches/dvd+rw-tools-7.0-wexit.patch | 11 ++++++++++ srcpkgs/dvd+rw-tools/template | 21 +++++++++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-dvddl.patch create mode 100644 srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-glibc2.6.90.patch create mode 100644 srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wctomb.patch create mode 100644 srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wexit.patch create mode 100644 srcpkgs/dvd+rw-tools/template diff --git a/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-dvddl.patch b/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-dvddl.patch new file mode 100644 index 00000000000..c1c6fb3332a --- /dev/null +++ b/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-dvddl.patch @@ -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; diff --git a/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-glibc2.6.90.patch b/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-glibc2.6.90.patch new file mode 100644 index 00000000000..a2d2594ae1a --- /dev/null +++ b/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-glibc2.6.90.patch @@ -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 + #include + #include ++#include + #include + #include + #include diff --git a/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wctomb.patch b/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wctomb.patch new file mode 100644 index 00000000000..56bd72575e8 --- /dev/null +++ b/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wctomb.patch @@ -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)'±'); diff --git a/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wexit.patch b/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wexit.patch new file mode 100644 index 00000000000..e17e6fe2df8 --- /dev/null +++ b/srcpkgs/dvd+rw-tools/patches/dvd+rw-tools-7.0-wexit.patch @@ -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 + diff --git a/srcpkgs/dvd+rw-tools/template b/srcpkgs/dvd+rw-tools/template new file mode 100644 index 00000000000..a79d8bb772a --- /dev/null +++ b/srcpkgs/dvd+rw-tools/template @@ -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 " +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 +}