git.iko.soy/typeable/nixpkgs
on master help sign in
mariadb: remove darwin patch that no longer applies

Hopefully it isn't needed anymore.

commit6f5c6fb6a18083a0d2da8c9b94dd64ed85ed1504 authorVladimír Čunát <vcunat@gmail.com> dateWed 10 Aug 2016, 22:06 (10 years ago) parentb94559d
2 files changed−20
pkgs/servers/sql/mariadb/default.nix−2 pkgs/servers/sql/mariadb/my_context_asm.patch−18
pkgs/servers/sql/mariadb/default.nix−2
@@ -29,8 +29,6 @@ common = rec { # attributes common to both builds
2929 sed -i 's,[^"]*/var/log,/var/log,g' storage/mroonga/vendor/groonga/CMakeLists.txt
3030 '';
3131
32− patches = stdenv.lib.optional stdenv.isDarwin ./my_context_asm.patch;
33−
3432 nativeBuildInputs = [ cmake pkgconfig ];
3533
3634 buildInputs = [
pkgs/servers/sql/mariadb/my_context_asm.patchdeleted−18
@@ -1,18 +0,0 @@
1−--- a/mysys/my_context.c
2−+++ b/mysys/my_context.c
3−@@ -206,15 +206,6 @@ my_context_spawn(struct my_context *c, void (*f)(void *), void *d)
4− (
5− "movq %%rsp, (%[save])\n\t"
6− "movq %[stack], %%rsp\n\t"
7−-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4 && !defined(__INTEL_COMPILER)
8−- /*
9−- This emits a DWARF DW_CFA_undefined directive to make the return address
10−- undefined. This indicates that this is the top of the stack frame, and
11−- helps tools that use DWARF stack unwinding to obtain stack traces.
12−- (I use numeric constant to avoid a dependency on libdwarf includes).
13−- */
14−- ".cfi_escape 0x07, 16\n\t"
15−-#endif
16− "movq %%rbp, 8(%[save])\n\t"
17− "movq %%rbx, 16(%[save])\n\t"
18− "movq %%r12, 24(%[save])\n\t"