Gentoo Archives: gentoo-commits

From: "Roy Marples (uberlord)" <uberlord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-cdr/dvd+rw-tools/files: dvd+rw-tools-7.0-limits.patch
Date: Fri, 26 Oct 2007 09:32:25
Message-Id: E1IlLY6-0003D0-Jv@stork.gentoo.org
1 uberlord 07/10/26 09:32:14
2
3 Added: dvd+rw-tools-7.0-limits.patch
4 Log:
5 Include limits.h to compile against newer headers, #195912 thanks to Sedorox
6 (Portage version: 2.1.3.16)
7
8 Revision Changes Path
9 1.1 app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-limits.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-limits.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-limits.patch?rev=1.1&content-type=text/plain
13
14 Index: dvd+rw-tools-7.0-limits.patch
15 ===================================================================
16 diff -urNd dvd+rw-tools-7.0/dvd+rw-booktype.cpp dvd+rw-tools-7.0-changed/dvd+rw-booktype.cpp
17 --- dvd+rw-tools-7.0/dvd+rw-booktype.cpp 2006-06-24 05:21:48.000000000 -0400
18 +++ dvd+rw-tools-7.0-changed/dvd+rw-booktype.cpp 2007-10-19 23:40:25.000000000 -0400
19 @@ -27,7 +27,7 @@
20 EOS
21 exit
22 #endif
23 -
24 +#include <limits.h>
25 #include <stdio.h>
26 #include <stddef.h>
27 #include <stdlib.h>
28 diff -urNd dvd+rw-tools-7.0/dvd+rw-format.cpp dvd+rw-tools-7.0-changed/dvd+rw-format.cpp
29 --- dvd+rw-tools-7.0/dvd+rw-format.cpp 2006-09-18 07:41:13.000000000 -0400
30 +++ dvd+rw-tools-7.0-changed/dvd+rw-format.cpp 2007-10-19 23:40:50.000000000 -0400
31 @@ -70,7 +70,7 @@
32 #include <stdio.h>
33 #include <stdlib.h>
34 #include <string.h>
35 -
36 +#include <limits.h>
37 #if defined(__unix) || defined(__unix__)
38 #include <sys/types.h>
39 #include <sys/stat.h>
40 diff -urNd dvd+rw-tools-7.0/dvd+rw-mediainfo.cpp dvd+rw-tools-7.0-changed/dvd+rw-mediainfo.cpp
41 --- dvd+rw-tools-7.0/dvd+rw-mediainfo.cpp 2006-09-23 13:46:57.000000000 -0400
42 +++ dvd+rw-tools-7.0-changed/dvd+rw-mediainfo.cpp 2007-10-19 23:40:58.000000000 -0400
43 @@ -3,7 +3,7 @@
44 *
45 * This code is in public domain.
46 */
47 -
48 +#include <limits.h>
49 #include <stdio.h>
50 #include <stddef.h>
51 #include <stdlib.h>
52 diff -urNd dvd+rw-tools-7.0/dvd-ram-control.cpp dvd+rw-tools-7.0-changed/dvd-ram-control.cpp
53 --- dvd+rw-tools-7.0/dvd-ram-control.cpp 2004-07-08 07:05:56.000000000 -0400
54 +++ dvd+rw-tools-7.0-changed/dvd-ram-control.cpp 2007-10-19 23:42:01.000000000 -0400
55 @@ -1,3 +1,4 @@
56 +#include <limits.h>
57 #include "transport.hxx"
58
59 int main (int argc,char *argv[])
60 diff -urNd dvd+rw-tools-7.0/growisofs.c dvd+rw-tools-7.0-changed/growisofs.c
61 --- dvd+rw-tools-7.0/growisofs.c 2006-09-24 13:28:53.000000000 -0400
62 +++ dvd+rw-tools-7.0-changed/growisofs.c 2007-10-19 23:41:28.000000000 -0400
63 @@ -558,8 +558,8 @@
64
65
66 #if defined(__linux)
67 -
68 #include <linux/types.h>
69 +#include <limits.h>
70 #include <linux/cdrom.h>
71 #include <sys/ioctl.h>
72 #include <sys/prctl.h>
73 diff -urNd dvd+rw-tools-7.0/growisofs_mmc.cpp dvd+rw-tools-7.0-changed/growisofs_mmc.cpp
74 --- dvd+rw-tools-7.0/growisofs_mmc.cpp 2006-09-23 08:45:49.000000000 -0400
75 +++ dvd+rw-tools-7.0-changed/growisofs_mmc.cpp 2007-10-19 23:41:39.000000000 -0400
76 @@ -13,7 +13,7 @@
77 #define _GNU_SOURCE
78 #endif
79 #endif
80 -
81 +#include <limits.h>
82 #include "transport.hxx"
83
84 #include <time.h>
85
86
87
88 --
89 gentoo-commits@g.o mailing list