diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-08-27 02:42:33 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-08-27 02:42:33 +0800 |
commit | 0790731c2d1c34d904d4b0575ad3311a09827de3 (patch) | |
tree | 69abe962d9f732d55cf4a093469d064537f01be1 /databases | |
parent | 41168b948ca2da24ee56d44d05b96aa9b84ed64f (diff) | |
download | freebsd-ports-gnome-0790731c2d1c34d904d4b0575ad3311a09827de3.tar.gz freebsd-ports-gnome-0790731c2d1c34d904d4b0575ad3311a09827de3.tar.zst freebsd-ports-gnome-0790731c2d1c34d904d4b0575ad3311a09827de3.zip |
Fix build with Python 3.7
PR: 230064
Submitted by: amdmi3, Kamigishi Rei <spambox@haruhiism.net>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-psycopg2/files/patch-psycopg-config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/py-psycopg2/files/patch-psycopg-config.h b/databases/py-psycopg2/files/patch-psycopg-config.h new file mode 100644 index 000000000000..2f212845c4f0 --- /dev/null +++ b/databases/py-psycopg2/files/patch-psycopg-config.h @@ -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__)) \ |