From 0a401fb2a55350df4bb20af533cc2f267817a43d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 8 Nov 2007 21:22:24 +0000 Subject: [PATCH] Clifford Wolf: Hotfixed dvd+rwtools and xine-lib [2007110600093150160] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8857 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/dvd+rwtools/hotfixes.patch | 19 +++++++ package/base/dvd+rwtools/limits_h.patch | 67 +++++++++++++++++++++++++ package/base/xine-lib/limits_h.patch | 10 ++++ 3 files changed, 96 insertions(+) create mode 100644 package/base/dvd+rwtools/hotfixes.patch create mode 100644 package/base/dvd+rwtools/limits_h.patch create mode 100644 package/base/xine-lib/limits_h.patch diff --git a/package/base/dvd+rwtools/hotfixes.patch b/package/base/dvd+rwtools/hotfixes.patch new file mode 100644 index 000000000..c9438319c --- /dev/null +++ b/package/base/dvd+rwtools/hotfixes.patch @@ -0,0 +1,19 @@ +--- ./rpl8.cpp.orig 2007-11-05 22:42:44.000000000 +0000 ++++ ./rpl8.cpp 2007-11-05 22:43:27.000000000 +0000 +@@ -311,11 +311,11 @@ + if (sense[12] == 0xF7) + { if (ascq != sense[13]) + { switch (ascq=sense[13]) +- { case 0: meaning="preparing"; break; +- case 1: meaning="erasing contents"; break; +- case 2: meaning="writing contents"; break; +- case 3: meaning="verifying contents"; break; +- default:meaning="unknown meaning"; break; ++ { case 0: meaning=(char*)"preparing"; break; ++ case 1: meaning=(char*)"erasing contents"; break; ++ case 2: meaning=(char*)"writing contents"; break; ++ case 3: meaning=(char*)"verifying contents"; break; ++ default:meaning=(char*)"unknown meaning"; break; + } + fprintf (stderr,"\"%s\": %s\n",argv[1],meaning); + } diff --git a/package/base/dvd+rwtools/limits_h.patch b/package/base/dvd+rwtools/limits_h.patch new file mode 100644 index 000000000..45674fc14 --- /dev/null +++ b/package/base/dvd+rwtools/limits_h.patch @@ -0,0 +1,67 @@ +--- ./dvd+rw-booktype.cpp.orig 2007-11-05 22:16:24.000000000 +0000 ++++ ./dvd+rw-booktype.cpp 2007-11-05 22:16:31.000000000 +0000 +@@ -28,6 +28,7 @@ + exit + #endif + ++#include + #include + #include + #include +--- ./dvd+rw-format.cpp.orig 2007-11-05 22:16:06.000000000 +0000 ++++ ./dvd+rw-format.cpp 2007-11-05 22:16:14.000000000 +0000 +@@ -67,6 +67,7 @@ + * - Blu-ray Disc support; + * - Mac OS X 10>=2 support; + */ ++#include + #include + #include + #include +--- ./dvd+rw-mediainfo.cpp.orig 2007-11-05 22:16:41.000000000 +0000 ++++ ./dvd+rw-mediainfo.cpp 2007-11-05 22:16:46.000000000 +0000 +@@ -4,6 +4,7 @@ + * This code is in public domain. + */ + ++#include + #include + #include + #include +--- ./dvd-ram-control.cpp.orig 2007-11-05 22:16:56.000000000 +0000 ++++ ./dvd-ram-control.cpp 2007-11-05 22:17:03.000000000 +0000 +@@ -1,3 +1,4 @@ ++#include + #include "transport.hxx" + + int main (int argc,char *argv[]) +--- ./growisofs.c.orig 2007-11-05 22:13:39.000000000 +0000 ++++ ./growisofs.c 2007-11-05 22:14:00.000000000 +0000 +@@ -410,6 +410,7 @@ + # define perror _mask_perror + #endif + ++#include + #include + #include + #include +--- ./growisofs_mmc.cpp.orig 2007-11-05 22:14:17.000000000 +0000 ++++ ./growisofs_mmc.cpp 2007-11-05 22:17:27.000000000 +0000 +@@ -14,6 +14,7 @@ + #endif + #endif + ++#include + #include "transport.hxx" + + #include +--- ./transport.hxx.orig 2007-11-05 22:43:39.000000000 +0000 ++++ ./transport.hxx 2007-11-05 22:43:49.000000000 +0000 +@@ -7,6 +7,7 @@ + // + + #if defined(__unix) || defined(__unix__) ++#include + #include + #include + #include diff --git a/package/base/xine-lib/limits_h.patch b/package/base/xine-lib/limits_h.patch new file mode 100644 index 000000000..dc0d76174 --- /dev/null +++ b/package/base/xine-lib/limits_h.patch @@ -0,0 +1,10 @@ +--- ./src/input/vcd/libcdio/_cdio_linux.c.orig 2007-11-05 22:26:45.000000000 +0000 ++++ ./src/input/vcd/libcdio/_cdio_linux.c 2007-11-05 22:26:53.000000000 +0000 +@@ -29,6 +29,7 @@ + + static const char _rcsid[] = "$Id: _cdio_linux.c,v 1.4 2006/09/26 22:18:44 dgp85 Exp $"; + ++#include + #include + + #include