pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-mysqldb Fix build under Mac OS X (Leopard?).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37636f8651bc
branches:  trunk
changeset: 559544:37636f8651bc
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun May 24 10:51:18 2009 +0000

description:
Fix build under Mac OS X (Leopard?).

diffstat:

 databases/py-mysqldb/distinfo         |   3 ++-
 databases/py-mysqldb/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 6266d98e44fe -r 37636f8651bc databases/py-mysqldb/distinfo
--- a/databases/py-mysqldb/distinfo     Sun May 24 10:51:06 2009 +0000
+++ b/databases/py-mysqldb/distinfo     Sun May 24 10:51:18 2009 +0000
@@ -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 -r 6266d98e44fe -r 37636f8651bc databases/py-mysqldb/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-mysqldb/patches/patch-aa     Sun May 24 10:51:18 2009 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index