FreeBSD Bugzilla – Attachment 192640 Details for
Bug 227628
databases/mariadb55-server, databases/mariadb100-server, databases/mariadb101-server, databases/mariadb102-server: Fix build for aarch64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mariadb55-server.patch
mariadb55-server.patch (text/plain), 1.82 KB, created by
Naram Qashat
on 2018-04-19 03:40:32 UTC
(
hide
)
Description:
mariadb55-server.patch
Filename:
MIME Type:
Creator:
Naram Qashat
Created:
2018-04-19 03:40:32 UTC
Size:
1.82 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 467713) >+++ Makefile (working copy) >@@ -50,7 +50,6 @@ > > DATADIR= ${PREFIX}/share/mysql > >-BROKEN_aarch64= Fails to link: missing sbrk > BROKEN_sparc64= Does not compile: Unsupported platform > BROKEN_SSL= openssl-devel > BROKEN_SSL_REASON_openssl-devel= incomplete definition of type 'struct dh_st' >Index: files/patch-mysys_stacktrace.c >=================================================================== >--- files/patch-mysys_stacktrace.c (nonexistent) >+++ files/patch-mysys_stacktrace.c (working copy) >@@ -0,0 +1,45 @@ >+--- mysys/stacktrace.c.orig 2018-01-18 17:10:31 UTC >++++ mysys/stacktrace.c >+@@ -34,19 +34,19 @@ >+ #include <execinfo.h> >+ #endif >+ >++#ifdef __linux__ >+ #define PTR_SANE(p) ((p) && (char*)(p) >= heap_start && (char*)(p) <= heap_end) >+- >+ static char *heap_start; >+- >+-#ifdef HAVE_BSS_START >+ extern char *__bss_start; >+-#endif >++#else >++#define PTR_SANE(p) (p) >++#endif /* __linux */ >+ >+ void my_init_stacktrace() >+ { >+-#ifdef HAVE_BSS_START >++#ifdef __linux__ >+ heap_start = (char*) &__bss_start; >+-#endif >++#endif /* __linux__ */ >+ } >+ >+ #ifdef __linux__ >+@@ -131,14 +131,14 @@ static int safe_print_str(const char *ad >+ >+ void my_safe_print_str(const char* val, int max_len) >+ { >++#ifdef __linux__ >+ char *heap_end; >+ >+-#ifdef __linux__ >+ if (!safe_print_str(val, max_len)) >+ return; >+-#endif >+ >+ heap_end= (char*) sbrk(0); >++#endif >+ >+ if (!PTR_SANE(val)) >+ { > >Property changes on: files/patch-mysys_stacktrace.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 227628
:
192637
|
192638
|
192639
| 192640