diff options
author | tron <tron@pkgsrc.org> | 2009-05-24 10:51:18 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-05-24 10:51:18 +0000 |
commit | 0a041da0221a7bce5a377eda4ae27e36a5d69816 (patch) | |
tree | a9e65ded871cf8018ee9d44338bb7b2b767cb36c | |
parent | 9d75512515b9d348d40ae05066968a5ddba82bfd (diff) | |
download | pkgsrc-0a041da0221a7bce5a377eda4ae27e36a5d69816.tar.gz |
Fix build under Mac OS X (Leopard?).
-rw-r--r-- | databases/py-mysqldb/distinfo | 3 | ||||
-rw-r--r-- | databases/py-mysqldb/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/databases/py-mysqldb/distinfo b/databases/py-mysqldb/distinfo index 358c00f12d8..af4b219161e 100644 --- a/databases/py-mysqldb/distinfo +++ b/databases/py-mysqldb/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.8 2008/08/06 17:16:49 mjl Exp $ +$NetBSD: distinfo,v 1.9 2009/05/24 10:51:18 tron Exp $ SHA1 (MySQL-python-1.2.2.tar.gz) = 945a04773f30091ad81743f9eb0329a3ee3de383 RMD160 (MySQL-python-1.2.2.tar.gz) = 3f3ff52102c41f86de3181d33132f15a9882a5b1 Size (MySQL-python-1.2.2.tar.gz) = 87078 bytes +SHA1 (patch-aa) = 286e9b9cf0e15b61992831942d934f6773ee7e34 diff --git a/databases/py-mysqldb/patches/patch-aa b/databases/py-mysqldb/patches/patch-aa new file mode 100644 index 00000000000..e854d2b6ce7 --- /dev/null +++ b/databases/py-mysqldb/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.6 2009/05/24 10:51:18 tron Exp $ + +--- _mysql.c.orig 2007-02-28 02:35:56.000000000 +0000 ++++ _mysql.c 2009-05-24 11:47:17.000000000 +0100 +@@ -34,7 +34,7 @@ + #else + #include "my_config.h" + #endif +-#ifndef uint ++#if !defined(uint) && !defined(__APPLE__) + #define uint unsigned int + #endif + #include "mysql.h" |