[Midnightbsd-cvs] mports [20856] trunk/databases/py-psycopg2/files: add patch
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Nov 13 19:17:48 EST 2015
Revision: 20856
http://svnweb.midnightbsd.org/mports/?rev=20856
Author: laffer1
Date: 2015-11-13 19:17:47 -0500 (Fri, 13 Nov 2015)
Log Message:
-----------
add patch
Added Paths:
-----------
trunk/databases/py-psycopg2/files/
trunk/databases/py-psycopg2/files/patch-config.h
Added: trunk/databases/py-psycopg2/files/patch-config.h
===================================================================
--- trunk/databases/py-psycopg2/files/patch-config.h (rev 0)
+++ trunk/databases/py-psycopg2/files/patch-config.h 2015-11-14 00:17:47 UTC (rev 20856)
@@ -0,0 +1,20 @@
+--- psycopg/config.h.orig 2015-11-13 19:16:42.574838932 -0500
++++ psycopg/config.h 2015-11-13 19:16:55.001643787 -0500
+@@ -141,17 +141,6 @@
+ #endif
+ #endif
+
+-#if (defined(__FreeBSD__) && __FreeBSD_version < 503000) \
+- || (defined(_WIN32) && !defined(__GNUC__)) \
+- || (defined(sun) || defined(__sun__)) \
+- && (defined(__SunOS_5_8) || defined(__SunOS_5_9))
+-/* what's this, we have no round function either? */
+-static double round(double num)
+-{
+- return (num >= 0) ? floor(num + 0.5) : ceil(num - 0.5);
+-}
+-#endif
+-
+ /* postgresql < 7.4 does not have PQfreemem */
+ #ifndef HAVE_PQFREEMEM
+ #define PQfreemem free
Property changes on: trunk/databases/py-psycopg2/files/patch-config.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list