diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-07-06 01:10:00 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-07-06 01:11:45 -0700 |
commit | 89dbf609d084eb353c048afa499aba953949f102 (patch) | |
tree | e064822e109ee3a077a475a647900a09ce3aa5b3 /07230_all_avoid_bus_error_5.0.76.patch | |
parent | Fix bug #271475, #elif not valid without an argument. Use #else instead. (diff) | |
download | mysql-extras-89dbf609d084eb353c048afa499aba953949f102.tar.gz mysql-extras-89dbf609d084eb353c048afa499aba953949f102.tar.bz2 mysql-extras-89dbf609d084eb353c048afa499aba953949f102.zip |
Need to use 5 digits of numbering now. LOTS of patches to track.
Diffstat (limited to '07230_all_avoid_bus_error_5.0.76.patch')
-rw-r--r-- | 07230_all_avoid_bus_error_5.0.76.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/07230_all_avoid_bus_error_5.0.76.patch b/07230_all_avoid_bus_error_5.0.76.patch new file mode 100644 index 0000000..da56c2a --- /dev/null +++ b/07230_all_avoid_bus_error_5.0.76.patch @@ -0,0 +1,28 @@ +memcpy ia64 fix causes problems for sparc. + +Signed-off-by: Friedrich Oslage <bluebird@gentoo.org> +X-Patch-URL: http://bugs.gentoo.org/attachment.cgi?id=175233&action=view +Gentoo-Bug: 250880 +Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=250880 + +--- ndb/src/kernel/blocks/dbacc/DbaccMain.cpp ++++ ndb/src/kernel/blocks/dbacc/DbaccMain.cpp +@@ -11667,12 +11667,15 @@ + default: + tmp = 0; + } ++#if !defined(__sparc__) + memcpy(signal->theData, &tmp, 8); /* must be memcpy, gives strange results on + * ithanium gcc (GCC) 3.4.1 smp linux 2.4 + * otherwise + */ +- // Uint32 * src = (Uint32*)&tmp; +- // signal->theData[0] = src[0]; +- // signal->theData[1] = src[1]; ++#else ++ Uint32 * src = (Uint32*)&tmp; ++ signal->theData[0] = src[0]; ++ signal->theData[1] = src[1]; ++#endif + } + |