Gentoo Archives: gentoo-commits

From: "Caleb Tennis (caleb)" <caleb@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/psycopg/files: psycopg-2.0.8-fbsd.patch
Date: Wed, 15 Oct 2008 21:18:01
Message-Id: E1KqDkj-0000UH-QZ@stork.gentoo.org
1 caleb 08/10/15 21:17:57
2
3 Added: psycopg-2.0.8-fbsd.patch
4 Log:
5 version bump per 237849
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.21-gentoo-r1 i686)
7
8 Revision Changes Path
9 1.1 dev-python/psycopg/files/psycopg-2.0.8-fbsd.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/files/psycopg-2.0.8-fbsd.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/files/psycopg-2.0.8-fbsd.patch?rev=1.1&content-type=text/plain
13
14 Index: psycopg-2.0.8-fbsd.patch
15 ===================================================================
16 --- psycopg/config.h.orig 2008-09-16 09:54:26.000000000 -0600
17 +++ psycopg/config.h 2008-09-16 09:55:26.000000000 -0600
18 @@ -129,7 +129,7 @@
19 #define inline
20 #endif
21
22 -#if defined(__FreeBSD__) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__) || defined(sun)
23 +#if (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__) || defined(sun)
24 /* what's this, we have no round function either? */
25 static double round(double num)
26 {