aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/tilix/APKBUILD6
-rw-r--r--community/tilix/dont-use-libunwind.patch30
2 files changed, 34 insertions, 2 deletions
diff --git a/community/tilix/APKBUILD b/community/tilix/APKBUILD
index 5cab557a42..84e48231f3 100644
--- a/community/tilix/APKBUILD
+++ b/community/tilix/APKBUILD
@@ -15,7 +15,8 @@ source="https://github.com/gnunn1/tilix/archive/$pkgver/tilix-$pkgver.tar.gz
musl-hacks.patch
ce11b0bd936fe8fee9c5ac7025ea5864b99ed7d3.patch
dont-use-dub.patch
- fix-meson.patch"
+ fix-meson.patch
+ dont-use-libunwind.patch"
export LDFLAGS='-linker=bfd -link-defaultlib-shared'
@@ -32,4 +33,5 @@ sha512sums="59165d24404c3fb9beb40070005131c6262abe98626c164552c0d90d0d74b3fc1d05
3347bfebb0e4d011d9b17f31ed15ec79e503de76185757165c7c13daa6e8b566eb0ad3a7cf32775ee4bc6102da1fa593d3dd0ff57767748c911ec46ad53d4bc3 musl-hacks.patch
36d45c82abd9bf33e5ef9518103794b1da727204540deaa624cf7f6417541893f8391d1f8b9311a32479c58e98d3e85ca292aa2c009179cc8f69e41f23d8ed00 ce11b0bd936fe8fee9c5ac7025ea5864b99ed7d3.patch
2d4d3ca80249abe49af5823d3541de00afdc41a3b37cb9b897a1cdef7c4c2c41d03812e85132fbc56e83d43b15e463dbae260e7cfca164ae5ec5d04f36a50573 dont-use-dub.patch
-8b2356d3c708e5b02185e4c140faffe51a1963478d51f7e91261246f9c37958a4c168f57883322c3567169279174cdff06d4b9999aade3c61f083f8ed5f34a24 fix-meson.patch"
+8b2356d3c708e5b02185e4c140faffe51a1963478d51f7e91261246f9c37958a4c168f57883322c3567169279174cdff06d4b9999aade3c61f083f8ed5f34a24 fix-meson.patch
+425868cd83b5b29a49bc9a2936f9b5be802318cf09c122e9a6809be4844a8a6864441799393eabbac4d2294496a811f3b672f8ca32576709babdb387fd1e15f7 dont-use-libunwind.patch"
diff --git a/community/tilix/dont-use-libunwind.patch b/community/tilix/dont-use-libunwind.patch
new file mode 100644
index 0000000000..7e68967c2f
--- /dev/null
+++ b/community/tilix/dont-use-libunwind.patch
@@ -0,0 +1,30 @@
+We already link with llvm-libunwind via ldc
+diff --git a/meson.build b/meson.build
+index ab6a7dd..80522ea 100644
+--- a/meson.build
++++ b/meson.build
+@@ -96,7 +96,6 @@ sources_dir = include_directories('source/')
+ gtkd_dep = dependency('gtkd-3', version: '>= 3.8.5')
+ vted_dep = dependency('vted-3', version: '>= 3.8.5')
+ xlib_dep = dependency('x11')
+-libunwind_dep = dependency('libunwind')
+ msgfmt = find_program('msgfmt')
+
+ subdir('po')
+@@ -108,8 +107,7 @@ executable('tilix',
+ include_directories : sources_dir,
+ dependencies : [gtkd_dep,
+ vted_dep,
+- xlib_dep,
+- libunwind_dep],
++ xlib_dep],
+ d_args: extra_args,
+ link_args: d_link_args,
+ install : true
+@@ -126,4 +124,4 @@ executable('tilix',
+ #)
+ #test('tilix_test', tilix_test_exe)
+
+-meson.add_install_script('meson_post_install.py')
+\ No newline at end of file
++meson.add_install_script('meson_post_install.py')