Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o, ssuominen@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-sound/mpfc/files: mpfc-1.3.7-INT_MAX.patch
Date: Mon, 25 Oct 2010 21:51:28
Message-Id: 201010251851.04835.aballier@gentoo.org
1 On Monday 25 October 2010 06:06:15 Samuli Suominen (ssuominen) wrote:
2 > ssuominen 10/10/25 09:06:15
3 >
4 > Added: mpfc-1.3.7-INT_MAX.patch
5 > Log:
6 > Missing include limits.h, required by recent linux-headers for cdrom.h
7 > and INT_MAX. Fix installation with recent coreutils wrt #335449 by Diego
8 > E. Pettenò.
9 [...]
10 >
11 > #include <stdio.h>
12 > +#include <limits.h> /* cdrom.h and INT_MAX */
13 > #include <linux/cdrom.h>
14 > #include <errno.h>
15 > #include <string.h>
16
17 Am I missing something obvious or is it just hiding a bug in the linux
18 headers? I see no usage of INT_MAX in the patched .c file...
19
20 This comes to my mind too:
21 http://blog.flameeyes.eu/2009/02/04/brace-for-impact
22
23 A.

Replies