svn commit: r478156 - head/databases/py-psycopg2/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 26 18:42:34 UTC 2018
Author: sunpoet
Date: Sun Aug 26 18:42:33 2018
New Revision: 478156
URL: https://svnweb.freebsd.org/changeset/ports/478156
Log:
Fix build with Python 3.7
PR: 230064
Submitted by: amdmi3, Kamigishi Rei <spambox at haruhiism.net>
Added:
head/databases/py-psycopg2/files/
head/databases/py-psycopg2/files/patch-psycopg-config.h (contents, props changed)
Added: head/databases/py-psycopg2/files/patch-psycopg-config.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-psycopg2/files/patch-psycopg-config.h Sun Aug 26 18:42:33 2018 (r478156)
@@ -0,0 +1,10 @@
+--- psycopg/config.h.orig 2018-06-17 16:07:41 UTC
++++ psycopg/config.h
+@@ -154,6 +154,7 @@ typedef unsigned __int64 uint64_t;
+ #endif
+
+ /* what's this, we have no round function either? */
++#include <sys/param.h>
+ #if (defined(__FreeBSD__) && __FreeBSD_version < 503000) \
+ || (defined(_WIN32) && !defined(__GNUC__)) \
+ || (defined(sun) || defined(__sun__)) \
More information about the svn-ports-head
mailing list