Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 18:42:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478156 - head/databases/py-psycopg2/files
Message-ID:  <201808261842.w7QIgXhr016432@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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__)) \



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