summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-18 00:43:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-18 00:43:18 +0000
commite6bdf477c5450a533fb1307fd3490f0465f37f97 (patch)
tree7ef38d007ecf0b5059182013750d1fce92d73b54 /databases
parent- Update to 1.0.12 (diff)
- Fix build with gcc 4.X
PR: 108063 Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
Notes
Notes: svn path=/head/; revision=182679
Diffstat (limited to 'databases')
-rw-r--r--databases/py-psycopg2/Makefile1
-rw-r--r--databases/py-psycopg2/files/patch-psycopg-config.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/databases/py-psycopg2/Makefile b/databases/py-psycopg2/Makefile
index e36178d51689..78886776b774 100644
--- a/databases/py-psycopg2/Makefile
+++ b/databases/py-psycopg2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= psycopg2
PORTVERSION= 2.0.5.1
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/pub/software/psycopg/ \
${MASTER_SITE_LOCAL}
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..d9e427220507
--- /dev/null
+++ b/databases/py-psycopg2/files/patch-psycopg-config.h
@@ -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)
+ {