| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- Index: psycopg2-2.0b8/psycopg/config.h
- --- psycopg2-2.0b8/psycopg/config.h.orig 2006-02-11 19:56:19 +0100
- +++ psycopg2-2.0b8/psycopg/config.h 2006-03-07 21:54:38 +0100
- @@ -104,10 +104,11 @@
-
- #if defined(__FreeBSD__) || defined(_WIN32) || defined(__sun__)
- /* what's this, we have no round function either? */
- -static double round(double num)
- +static double my_round(double num)
- {
- return (num >= 0) ? floor(num + 0.5) : ceil(num - 0.5);
- }
- +#define round(num) my_round(num)
- #endif
-
- /* postgresql < 7.4 does not have PQfreemem */
- Index: psycopg2-2.0b8/setup.py
- --- psycopg2-2.0b8/setup.py.orig 2006-02-11 19:58:38 +0100
- +++ psycopg2-2.0b8/setup.py 2006-03-07 21:54:38 +0100
- @@ -143,6 +143,9 @@
-
- self.include_dirs.append(".")
- self.libraries.append("pq")
- + self.libraries.append("ssl")
- + self.libraries.append("crypto")
- + self.libraries.append("crypt")
-
- try:
- self.library_dirs.append(self.get_pg_config("libdir"))
- Index: pysqlite-2.1.3/setup.py
- --- pysqlite-2.1.3/setup.py.orig 2006-02-02 01:15:04 +0100
- +++ pysqlite-2.1.3/setup.py 2006-03-07 21:55:19 +0100
- @@ -23,10 +23,11 @@
-
- import glob, os, sys
-
- -from ez_setup import use_setuptools
- -use_setuptools()
- +#from ez_setup import use_setuptools
- +#use_setuptools()
-
- -from setuptools import setup, Extension, Command
- +#from setuptools import setup, Extension, Command
- +from distutils.core import setup, Extension, Command
-
- # If you need to change anything, it should be enough to change setup.cfg.
-
- @@ -115,9 +116,7 @@
- platforms = "ALL",
- url = "http://pysqlite.org/",
- download_url = "http://initd.org/tracker/pysqlite/wiki/PysqliteDownloads",
- - test_suite = "pysqlite2.test.suite",
- cmdclass = {"build_docs": DocBuilder},
- - extras_require = {"build_docs": ["docutils", "SilverCity"]},
-
- # Description of the modules and packages in the distribution
- package_dir = {"pysqlite2": "pysqlite2"},
|