Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 74484 Details for
Bug 114925
dev-perl/DBD-mysql-3.0002_p4 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch out new datatypes introduced in mysql5 when building against an earlier version
bwd_compat.patch (text/plain), 1.37 KB, created by
Malcolm Lashley (RETIRED)
on 2005-12-11 04:06:33 UTC
(
hide
)
Description:
Patch out new datatypes introduced in mysql5 when building against an earlier version
Filename:
MIME Type:
Creator:
Malcolm Lashley (RETIRED)
Created:
2005-12-11 04:06:33 UTC
Size:
1.37 KB
patch
obsolete
>diff -aur DBD-mysql-3.0002_4/dbdimp.c DBD-mysql-3.0002_4/dbdimp.c >--- DBD-mysql-3.0002_4/dbdimp.c 2005-11-06 21:32:01.000000000 +0000 >+++ DBD-mysql-3.0002_4/dbdimp.c 2005-12-11 11:46:08.000000000 +0000 >@@ -246,9 +246,10 @@ > case MYSQL_TYPE_LONG: > case MYSQL_TYPE_INT24: > case MYSQL_TYPE_YEAR: >+#if MYSQL_VERSION_ID > NEW_BIT_DATATYPE_VERSION > case MYSQL_TYPE_BIT: > return MYSQL_TYPE_LONG; >- >+#endif > case MYSQL_TYPE_DECIMAL: > case MYSQL_TYPE_LONGLONG: /* No longlong in perl */ > case MYSQL_TYPE_DATE: >@@ -256,11 +257,13 @@ > case MYSQL_TYPE_DATETIME: > case MYSQL_TYPE_NEWDATE: > case MYSQL_TYPE_VAR_STRING: >+#if MYSQL_VERSION_ID > NEW_BIT_DATATYPE_VERSION > case MYSQL_TYPE_VARCHAR: >+#endif > case MYSQL_TYPE_STRING: > case MYSQL_TYPE_BLOB: > case MYSQL_TYPE_TINY_BLOB: >-#ifdef MYSQL_VERSION_ID > NEW_DATATYPE_VERSION >+#if MYSQL_VERSION_ID > NEW_DATATYPE_VERSION > case MYSQL_TYPE_GEOMETRY: > #endif > case MYSQL_TYPE_TIMESTAMP: >diff -aur DBD-mysql-3.0002_4/dbdimp.h DBD-mysql-3.0002_4/dbdimp.h >--- DBD-mysql-3.0002_4/dbdimp.h 2005-11-06 21:32:01.000000000 +0000 >+++ DBD-mysql-3.0002_4/dbdimp.h 2005-12-11 11:32:00.000000000 +0000 >@@ -31,6 +31,7 @@ > #define SERVER_PREPARE_VERSION 40103 > #define LIMIT_PLACEHOLDER_VERSION 50007 > #define NEW_DATATYPE_VERSION 50007 >+#define NEW_BIT_DATATYPE_VERSION 50300 > > /* > * The following are return codes passed in $h->err in case of
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114925
: 74484 |
74485