Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/dia/files: dia-0.96.1-64bit-fixes.patch
Date: Mon, 28 Jul 2008 23:18:59
Message-Id: E1KNbzV-0008R5-39@stork.gentoo.org
1 eva 08/07/28 23:18:57
2
3 Added: dia-0.96.1-64bit-fixes.patch
4 Log:
5 add 64 bit compilation fix patch, bug #191673.
6 (Portage version: 2.2_rc3/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
7
8 Revision Changes Path
9 1.1 app-office/dia/files/dia-0.96.1-64bit-fixes.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/dia/files/dia-0.96.1-64bit-fixes.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/dia/files/dia-0.96.1-64bit-fixes.patch?rev=1.1&content-type=text/plain
13
14 Index: dia-0.96.1-64bit-fixes.patch
15 ===================================================================
16 --- dia-0.96.1/app/load_save.c~ 2007-06-09 09:55:13.000000000 +0200
17 +++ dia-0.96.1/app/load_save.c 2007-06-09 10:02:30.000000000 +0200
18 @@ -17,6 +17,8 @@
19 */
20 #include <config.h>
21
22 +/* so we get fdopen declared even when compiling with -ansi */
23 +#define _POSIX_C_SOURCE 2
24 #ifdef HAVE_UNISTD_H
25 #include <unistd.h>
26 #endif