summaryrefslogtreecommitdiffstats
path: root/python/Python-2.6.1-cross.berkeleydb.patch
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-06-16 13:56:33 +0200
committerDavid Tardon <dtardon@redhat.com>2012-06-17 17:36:52 +0200
commit794e2e601fcbed83e6f886db14f3754b68ae0311 (patch)
treee7ccb00c36ba2c3ddbdef0b4ce322f73b10ba610 /python/Python-2.6.1-cross.berkeleydb.patch
parentRemove unused variables and parameters (diff)
downloadcore-794e2e601fcbed83e6f886db14f3754b68ae0311.tar.gz
core-794e2e601fcbed83e6f886db14f3754b68ae0311.zip
(incomplete) attempt to build internal python with MinGW
Change-Id: I39c880e8615b164a66eb900c11b26da9d6489e02
Diffstat (limited to 'python/Python-2.6.1-cross.berkeleydb.patch')
-rw-r--r--python/Python-2.6.1-cross.berkeleydb.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/python/Python-2.6.1-cross.berkeleydb.patch b/python/Python-2.6.1-cross.berkeleydb.patch
new file mode 100644
index 000000000000..e6783f6e10c9
--- /dev/null
+++ b/python/Python-2.6.1-cross.berkeleydb.patch
@@ -0,0 +1,15 @@
+--- misc/build/Python-2.6.1/Modules/Setup.dist (revision 74955)
++++ misc/build/Python-2.6.1/Modules/Setup.dist (working copy)
+@@ -413,9 +413,9 @@
+ # and the subdirectory of PORT where you built it.
+ DB=$(prefix)
+ DBLIBVER=4.8
+-DBINC=$(DB)/include
+-DBLIB=$(DB)/lib
+-_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
++DBINC=$(OUTDIR)/inc/berkeleydb
++DBLIB=$(OUTDIR)/lib
++_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb47
+
+ # Historical Berkeley DB 1.85
+ #