From ba4a32f40276f147bced7b7ff082746b137536f9 Mon Sep 17 00:00:00 2001 From: Gil Date: Sat, 4 Jan 2025 06:29:26 -0600 Subject: [PATCH] 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 * Resolve: Add back that space, GH hates that Signed-off-by: Gil --------- Signed-off-by: Gil --- anda/devs/ghostty/nightly/ghostty-nightly.spec | 6 +++--- anda/devs/ghostty/nightly/no-strip.diff | 17 ----------------- 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 anda/devs/ghostty/nightly/no-strip.diff diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec index 9e260d070b..d58dc7e7fc 100644 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ b/anda/devs/ghostty/nightly/ghostty-nightly.spec @@ -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 - 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 - Initial package diff --git a/anda/devs/ghostty/nightly/no-strip.diff b/anda/devs/ghostty/nightly/no-strip.diff deleted file mode 100644 index 80c5534f73..0000000000 --- a/anda/devs/ghostty/nightly/no-strip.diff +++ /dev/null @@ -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