Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/autorun/files: autorun-3.17-headers.patch
Date: Mon, 22 Dec 2008 06:14:00
Message-Id: E1LEe3B-000627-Rm@stork.gentoo.org
1 vapier 08/12/22 06:13:57
2
3 Added: autorun-3.17-headers.patch
4 Log:
5 Fix building with gcc-4.3 #251684 by Diego E. Pettenò.
6 (Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
7
8 Revision Changes Path
9 1.1 sys-fs/autorun/files/autorun-3.17-headers.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/autorun/files/autorun-3.17-headers.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/autorun/files/autorun-3.17-headers.patch?rev=1.1&content-type=text/plain
13
14 Index: autorun-3.17-headers.patch
15 ===================================================================
16 https://bugs.gentoo.org/251684
17
18 --- autorun.cc
19 +++ autorun.cc
20 @@ -90,6 +90,8 @@ char *strchr (), *strrchr ();
21
22 #include <errno.h>
23
24 +#include <stdlib.h>
25 +
26 #ifndef MNTTYPE_ISO9660
27 #define MNTTYPE_ISO9660 "iso9660"
28 #endif