[arch-commits] Commit in helix/trunk (PKGBUILD helix-full-relro.patch)

Orhun Parmaksiz orhun at gemini.archlinux.org
Mon Aug 16 21:00:20 UTC 2021


    Date: Monday, August 16, 2021 @ 21:00:20
  Author: orhun
Revision: 1001083

upgpkg: helix 0.4.1-1: upstream release

Added:
  helix/trunk/helix-full-relro.patch
Modified:
  helix/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   13 ++++++++-----
 helix-full-relro.patch |   10 ++++++++++
 2 files changed, 18 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-16 20:48:50 UTC (rev 1001082)
+++ PKGBUILD	2021-08-16 21:00:20 UTC (rev 1001083)
@@ -2,9 +2,9 @@
 # Contributor: Wojciech Kępka (wojciech at wkepka.dev)
 
 pkgname=helix
-pkgver=0.3.0
-_gitcommit=44566ea812eed023c89ab49b59f62e76ef2bd6c7
-pkgrel=4
+pkgver=0.4.1
+_gitcommit=1caedc18ca47d07b30a5997c092f2683cce3042e
+pkgrel=1
 pkgdesc="A post-modern modal text editor"
 arch=('x86_64')
 url="https://helix-editor.com"
@@ -38,6 +38,7 @@
   "${pkgname}-tree-sitter-swift::git+https://github.com/tree-sitter/tree-sitter-swift"
   "${pkgname}-tree-sitter-c::git+https://github.com/tree-sitter/tree-sitter-c"
   "$pkgname.sh"
+  "$pkgname-full-relro.patch"
 )
 sha256sums=('SKIP'
             'SKIP'
@@ -64,12 +65,14 @@
             'SKIP'
             'SKIP'
             'SKIP'
-            'f782c93bc0f2c7b27ec62fb2ba36e11b3354c3953405f8d2017b039c9eac500a')
+            'f782c93bc0f2c7b27ec62fb2ba36e11b3354c3953405f8d2017b039c9eac500a'
+            '34014564164fec6a8ffaa1c9ff2436eb74662224ea4920ca165e9fe500b51554')
 
 prepare() {
   cd "$pkgname"
+  patch -p0 -i "../$pkgname-full-relro.patch"
+
   git submodule init
-
   git config submodule."helix-syntax/languages/tree-sitter-cpp".url "${srcdir}/${pkgname}"-tree-sitter-cpp
   git config submodule."helix-syntax/languages/tree-sitter-javascript".url "${srcdir}/${pkgname}"-tree-sitter-javascript
   git config submodule."helix-syntax/languages/tree-sitter-julia".url "${srcdir}/${pkgname}"-tree-sitter-julia

Added: helix-full-relro.patch
===================================================================
--- helix-full-relro.patch	                        (rev 0)
+++ helix-full-relro.patch	2021-08-16 21:00:20 UTC (rev 1001083)
@@ -0,0 +1,10 @@
+--- helix-syntax/build.rs   2021-08-16 23:27:58.754526393 +0300
++++ helix-syntax/build.rs   2021-08-16 23:28:52.307814345 +0300
+@@ -105,6 +105,7 @@
+             }
+         }
+         command.arg("-xc").arg(parser_path);
++        command.arg("-Wl,-z,relro,-z,now");
+     }
+ 
+     let output = command



More information about the arch-commits mailing list