mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-23 12:00:40 +00:00
Fix: Drop patch and add new -Dstrip=false flag (#2869)
* Fix: Drop patch and add new -Dstrip=false flag * Fix: Are you FR what even happened to the changelog formatting there? * Bump: Commit and date to solve conflict Heehoo bigger numbers. Signed-off-by: Gil <rockgrub@protonmail.com> * Resolve: Add back that space, GH hates that Signed-off-by: Gil <rockgrub@protonmail.com> --------- Signed-off-by: Gil <rockgrub@protonmail.com>
This commit is contained in:
@@ -11,7 +11,6 @@ Summary: A fast, native terminal emulator written in Zig; this is the Tip
|
||||
License: MIT AND MPL-2.0 AND OFL-1.1
|
||||
URL: https://ghostty.org/
|
||||
Source0: https://github.com/ghostty-org/ghostty/archive/%{commit}/ghostty-%{commit}.tar.gz
|
||||
Patch0: no-strip.diff
|
||||
BuildRequires: gtk4-devel
|
||||
BuildRequires: libadwaita-devel
|
||||
BuildRequires: ncurses
|
||||
@@ -94,6 +93,7 @@ zig build \
|
||||
--prefix-exe-dir "%{_bindir}" --prefix-include-dir "%{_includedir}" \
|
||||
--verbose \
|
||||
-Dcpu=baseline \
|
||||
-Dstrip=false \
|
||||
-Dpie=true \
|
||||
-Demit-docs
|
||||
|
||||
@@ -150,8 +150,8 @@ zig build \
|
||||
%changelog
|
||||
* Tue Dec 31 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Update to 20241231.3f7c3af
|
||||
* High CVE-2003-0063: Allows execution of arbitrary commands
|
||||
* Medium CVE-2003-0070: Allows execution of arbitrary commands
|
||||
* High CVE-2003-0063: Allows execution of arbitrary commands
|
||||
* Medium CVE-2003-0070: Allows execution of arbitrary commands
|
||||
|
||||
* Thu Dec 26 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Initial package
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
diff --git a/build.zig b/build.zig
|
||||
index c3f7302..a0ecf25 100644
|
||||
--- a/build.zig
|
||||
+++ b/build.zig
|
||||
@@ -295,11 +295,7 @@ pub fn build(b: *std.Build) !void {
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
- .strip = switch (optimize) {
|
||||
- .Debug => false,
|
||||
- .ReleaseSafe => false,
|
||||
- .ReleaseFast, .ReleaseSmall => true,
|
||||
- },
|
||||
+ .strip = false,
|
||||
}) else null;
|
||||
|
||||
// Exe
|
||||
Reference in New Issue
Block a user