Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/udftools/files: udftools-1.0.0b-limits_h.patch
Date: Wed, 01 Sep 2010 14:00:36
Message-Id: 20100901140031.D7F6920054@flycatcher.gentoo.org
1 ssuominen 10/09/01 14:00:31
2
3 Added: udftools-1.0.0b-limits_h.patch
4 Log:
5 Fix building with recent linux-headers wrt #335511 by Diego E. Pettenò.
6
7 (Portage version: 2.2_rc69/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-fs/udftools/files/udftools-1.0.0b-limits_h.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udftools/files/udftools-1.0.0b-limits_h.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udftools/files/udftools-1.0.0b-limits_h.patch?rev=1.1&content-type=text/plain
14
15 Index: udftools-1.0.0b-limits_h.patch
16 ===================================================================
17 http://bugs.gentoo.org/335511
18
19 --- cdrwtool/cdrwtool.c
20 +++ cdrwtool/cdrwtool.c
21 @@ -31,6 +31,7 @@
22 #include <sys/ioctl.h>
23 #include <asm/param.h>
24
25 +#include <limits.h> /* INT_MAX */
26 #include <linux/cdrom.h>
27
28 #include "cdrwtool.h"
29 --- pktsetup/pktsetup.c
30 +++ pktsetup/pktsetup.c
31 @@ -26,6 +26,7 @@
32 #include <bits/types.h>
33 #include <sys/types.h>
34
35 +#include <limits.h> /* INT_MAX */
36 #include <linux/cdrom.h>
37
38 /*