FreeBSD Bugzilla – Attachment 229019 Details for
Bug 259434
editors/kakoune: fix build on armv6/armv7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
editors/kakoune: fix build on armv6/armv7
0001-editors-kakoune-fix-build-on-armv6-armv7.patch (text/plain), 1.04 KB, created by
Robert Clausecker
on 2021-10-25 11:55:47 UTC
(
hide
)
Description:
editors/kakoune: fix build on armv6/armv7
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2021-10-25 11:55:47 UTC
Size:
1.04 KB
patch
obsolete
>From 20f8e1d62583fc935a62dcd7ceb347231fca82d7 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Mon, 25 Oct 2021 13:49:33 +0200 >Subject: [PATCH] editors/kakoune: fix build on armv6/armv7 > >--- > editors/kakoune/files/patch-src_main.cc | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 editors/kakoune/files/patch-src_main.cc > >diff --git a/editors/kakoune/files/patch-src_main.cc b/editors/kakoune/files/patch-src_main.cc >new file mode 100644 >index 000000000000..0c4fd9b6f327 >--- /dev/null >+++ b/editors/kakoune/files/patch-src_main.cc >@@ -0,0 +1,17 @@ >+--- src/main.cc.orig 2021-10-25 11:31:24 UTC >++++ src/main.cc >+@@ -1249,8 +1249,12 @@ int main(int argc, char* argv[]) >+ } >+ >+ #if defined(__ELF__) >+-asm(R"( >+-.pushsection ".debug_gdb_scripts", "MS",@progbits,1 >++#ifdef __arm__ >++# define PROGBITS "%progbits" >++#else >++# define PROGBITS "@progbits" >++#endif >++asm(".pushsection \".debug_gdb_scripts\", \"MS\"," PROGBITS ",1" R"( >+ .byte 4 >+ .ascii "kakoune-inline-gdb.py\n" >+ .ascii "import os.path\n" >-- >2.32.0 >
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
Flags:
fuz
:
maintainer-approval?
(
tobik
)
Actions:
View
|
Diff
Attachments on
bug 259434
: 229019