Ticket #32518: patch-removed-pyNN-mysql.diff
File patch-removed-pyNN-mysql.diff, 7.4 KB (added by pixilla (Bradley Giesbrecht), 13 years ago) |
---|
-
python/py25-mysql/files/patch-_mysql.c.diff
1 --- _mysql.c.orig 2007-02-27 18:35:56.000000000 -08002 +++ _mysql.c 2007-11-25 21:54:09.000000000 -08003 @@ -34,9 +34,6 @@4 #else5 #include "my_config.h"6 #endif7 -#ifndef uint8 -#define uint unsigned int9 -#endif10 #include "mysql.h"11 #include "mysqld_error.h"12 #include "errmsg.h"13 @@ -481,8 +478,8 @@14 #endif15 char *host = NULL, *user = NULL, *passwd = NULL,16 *db = NULL, *unix_socket = NULL;17 - uint port = MYSQL_PORT;18 - uint client_flag = 0;19 + unsigned int port = MYSQL_PORT;20 + unsigned int client_flag = 0;21 static char *kwlist[] = { "host", "user", "passwd", "db", "port",22 "unix_socket", "conv",23 "connect_timeout", "compress", -
python/py25-mysql/files/patch-setup_posix.py.diff
1 --- setup_posix.py.orig 2007-05-06 12:30:17.000000000 -07002 +++ setup_posix.py 2007-05-06 12:31:30.000000000 -07003 @@ -23,7 +23,7 @@4 if ret/256 > 1:5 raise EnvironmentError, "%s not found" % mysql_config.path6 return data7 -mysql_config.path = "mysql_config"8 +mysql_config.path = "mysql_config5"9 10 def get_config():11 import os, sys -
python/py25-mysql/Portfile
1 # $Id$2 3 PortSystem 1.04 PortGroup python25 1.05 6 name py25-mysql7 version 1.2.28 categories python devel databases9 maintainers nomaintainer10 description Python interface to mysql11 long_description A package containing a Python module that allows you to \12 connect to MySQL databases13 platforms darwin14 homepage http://sourceforge.net/projects/mysql-python/15 master_sites sourceforge:mysql-python16 distname MySQL-python-${version}17 checksums md5 532268f02870bea18c1d465e88afff3018 patchfiles patch-_mysql.c.diff19 20 depends_lib-append port:py25-distribute21 22 variant mysql4 conflicts mysql5 description {Build with MySQL 4} {23 depends_lib-append port:mysql424 }25 26 variant mysql5 conflicts mysql4 description {Build with MySQL 5} {27 patchfiles-append patch-setup_posix.py.diff28 depends_lib-append path:bin/mysql_config5:mysql529 }30 31 if {![variant_isset mysql4]} {32 default_variants +mysql533 }34 35 pre-fetch {36 if {![variant_isset mysql4] && ![variant_isset mysql5]} {37 return -code error "you must select either mysql4 or mysql5"38 }39 } -
python/py26-mysql/files/patch-setup_posix.py.diff
1 --- setup_posix.py.orig 2007-05-06 12:30:17.000000000 -07002 +++ setup_posix.py 2007-05-06 12:31:30.000000000 -07003 @@ -23,7 +23,7 @@4 if ret/256 > 1:5 raise EnvironmentError, "%s not found" % mysql_config.path6 return data7 -mysql_config.path = "mysql_config"8 +mysql_config.path = "mysql_config5"9 10 def get_config():11 import os, sys -
python/py26-mysql/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=42 # $Id$3 4 PortSystem 1.05 PortGroup python26 1.06 7 name py26-mysql8 version 1.2.39 revision 010 categories python devel databases11 platforms darwin12 13 maintainers nomaintainer14 15 description Python interface to MySQL16 long_description A package containing a Python module that allows you to \17 connect to MySQL databases.18 19 homepage http://sourceforge.net/projects/mysql-python/20 master_sites sourceforge:mysql-python21 22 distname MySQL-python-${version}23 24 checksums md5 215eddb6d853f6f4be5b4afc4154292f \25 sha1 3511bb8c57c6016eeafa531d5c3ea4b548915e3c \26 rmd160 e394e7bf08127068795aeebfbaea7dc3b2127c8627 28 depends_lib-append port:py26-distribute29 30 variant mysql4 conflicts mysql5 description {Build with MySQL 4} {31 depends_lib-append port:mysql432 }33 34 variant mysql5 conflicts mysql4 description {Build with MySQL 5} {35 patchfiles-append patch-setup_posix.py.diff36 depends_lib-append path:bin/mysql_config5:mysql537 }38 39 if {![variant_isset mysql4]} {40 default_variants +mysql541 }42 43 pre-fetch {44 if {![variant_isset mysql4] && ![variant_isset mysql5]} {45 return -code error "you must select either mysql4 or mysql5"46 }47 } -
python/py26-mysql/files/patch-setup_posix.py.diff
1 --- setup_posix.py.orig 2007-05-06 12:30:17.000000000 -07002 +++ setup_posix.py 2007-05-06 12:31:30.000000000 -07003 @@ -23,7 +23,7 @@4 if ret/256 > 1:5 raise EnvironmentError, "%s not found" % mysql_config.path6 return data7 -mysql_config.path = "mysql_config"8 +mysql_config.path = "mysql_config5"9 10 def get_config():11 import os, sys -
python/py26-mysql/Portfile
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=42 # $Id$3 4 PortSystem 1.05 PortGroup python26 1.06 7 name py26-mysql8 version 1.2.39 revision 010 categories python devel databases11 platforms darwin12 13 maintainers nomaintainer14 15 description Python interface to MySQL16 long_description A package containing a Python module that allows you to \17 connect to MySQL databases.18 19 homepage http://sourceforge.net/projects/mysql-python/20 master_sites sourceforge:mysql-python21 22 distname MySQL-python-${version}23 24 checksums md5 215eddb6d853f6f4be5b4afc4154292f \25 sha1 3511bb8c57c6016eeafa531d5c3ea4b548915e3c \26 rmd160 e394e7bf08127068795aeebfbaea7dc3b2127c8627 28 depends_lib-append port:py26-distribute29 30 variant mysql4 conflicts mysql5 description {Build with MySQL 4} {31 depends_lib-append port:mysql432 }33 34 variant mysql5 conflicts mysql4 description {Build with MySQL 5} {35 patchfiles-append patch-setup_posix.py.diff36 depends_lib-append path:bin/mysql_config5:mysql537 }38 39 if {![variant_isset mysql4]} {40 default_variants +mysql541 }42 43 pre-fetch {44 if {![variant_isset mysql4] && ![variant_isset mysql5]} {45 return -code error "you must select either mysql4 or mysql5"46 }47 }