Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2007 01:29:55 +0100 (CET)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        miwi@FreeBSD.org
Subject:   ports/108063: [PATCH] databases/py-psycopg2: fix build with gcc41
Message-ID:  <20070118002955.DEE8339DBA@pin.if.uz.zgora.pl>
Resent-Message-ID: <200701180030.l0I0UL1F054835@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         108063
>Category:       ports
>Synopsis:       [PATCH] databases/py-psycopg2: fix build with gcc41
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 18 00:30:20 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Fix build with gcc41.

Added file(s):
- files/patch-psycopg-config.h

Port maintainer (miwi@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py24-psycopg2-2.0.5.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/py-psycopg2/files/patch-psycopg-config.h /home/trasz/py-psycopg2/files/patch-psycopg-config.h
--- /usr/ports/databases/py-psycopg2/files/patch-psycopg-config.h	Thu Jan  1 01:00:00 1970
+++ /home/trasz/py-psycopg2/files/patch-psycopg-config.h	Thu Jan 18 01:29:16 2007
@@ -0,0 +1,11 @@
+--- psycopg/config.h.orig	Thu Jan 18 01:23:39 2007
++++ psycopg/config.h	Thu Jan 18 01:24:57 2007
+@@ -102,7 +102,7 @@
+ #define inline
+ #endif
+ 
+-#if defined(__FreeBSD__) || defined(_WIN32) || defined(__sun__)
++#if defined(_WIN32) || defined(__sun__)
+ /* what's this, we have no round function either? */
+ static double round(double num)
+ {
--- py24-psycopg2-2.0.5.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070118002955.DEE8339DBA>