Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 18 years ago
parent
commit
0a401fb2a5
3 changed files with 96 additions and 0 deletions
  1. +19
    -0
      package/base/dvd+rwtools/hotfixes.patch
  2. +67
    -0
      package/base/dvd+rwtools/limits_h.patch
  3. +10
    -0
      package/base/xine-lib/limits_h.patch

+ 19
- 0
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);
}

+ 67
- 0
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 <limits.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
--- ./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 <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--- ./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 <limits.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
--- ./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 <limits.h>
#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 <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
--- ./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 <limits.h>
#include "transport.hxx"
#include <time.h>
--- ./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 <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

+ 10
- 0
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 <limits.h>
#include <string.h>
#include <cdio/sector.h>

Loading…
Cancel
Save