summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-07-19 19:29:57 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-07-30 08:46:41 +0200
commit3e85c8c4859384b2e7860512dee265c8d18ec370 (patch)
tree7651bef4ad238b7146bfcac02f06ae99e39c6046 /dev-db/unixODBC
parentx11-terms/xfce4-terminal: Bump to 0.6.90, early GTK+3 release (diff)
downloadgentoo-3e85c8c4859384b2e7860512dee265c8d18ec370.tar.gz
gentoo-3e85c8c4859384b2e7860512dee265c8d18ec370.tar.bz2
gentoo-3e85c8c4859384b2e7860512dee265c8d18ec370.zip
dev-db/*: remove unused patches.
Squash all commit messages into a single one. Closes: https://github.com/gentoo/gentoo/pull/1936 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-db/unixODBC')
-rw-r--r--dev-db/unixODBC/files/unixODBC-2.3.0-sqldriverconnect.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/dev-db/unixODBC/files/unixODBC-2.3.0-sqldriverconnect.patch b/dev-db/unixODBC/files/unixODBC-2.3.0-sqldriverconnect.patch
deleted file mode 100644
index abcce61106d6..000000000000
--- a/dev-db/unixODBC/files/unixODBC-2.3.0-sqldriverconnect.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=358611
---- unixODBC-2.3.0.orig/DriverManager/SQLDriverConnect.c 2011-04-02 21:56:19.889301819 +0400
-+++ unixODBC-2.3.0/DriverManager/SQLDriverConnect.c 2011-04-02 21:58:37.129102095 +0400
-@@ -639,7 +639,7 @@
- {
- DMHDBC connection = (DMHDBC)hdbc;
- struct con_struct con_struct;
-- char *driver, *dsn = NULL, *filedsn, *tsavefile, savefile[ 128 ];
-+ char *driver, *dsn = NULL, *filedsn, *tsavefile, savefile[ INI_MAX_PROPERTY_VALUE + 1 ];
- char lib_name[ INI_MAX_PROPERTY_VALUE + 1 ];
- char driver_name[ INI_MAX_PROPERTY_VALUE + 1 ];
- SQLRETURN ret_from_connect;
-@@ -944,7 +944,13 @@
- tsavefile = __get_attribute_value( &con_struct, "SAVEFILE" );
- if ( tsavefile )
- {
-- strcpy( savefile, tsavefile );
-+ if ( strlen( tsavefile ) > INI_MAX_PROPERTY_VALUE ) {
-+ memcpy( savefile, tsavefile, INI_MAX_PROPERTY_VALUE );
-+ savefile[ INI_MAX_PROPERTY_VALUE ] = '\0';
-+ }
-+ else {
-+ strcpy( savefile, tsavefile );
-+ }
- }
- else
- {