pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nim: remove patch because it was added upstream
Module Name: pkgsrc-wip
Committed By: arcathrax <ivan%ivanpollak.com@localhost>
Pushed By: arcathrax
Date: Sun Nov 1 20:04:01 2026 +0100
Changeset: a953be395ac83a830a247774bc0db53b53890d7a
Removed Files:
nim/patches/patch-bin_nim-gdb
Log Message:
nim: remove patch because it was added upstream
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a953be395ac83a830a247774bc0db53b53890d7a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
nim/patches/patch-bin_nim-gdb | 32 --------------------------------
1 file changed, 32 deletions(-)
diffs:
diff --git a/nim/patches/patch-bin_nim-gdb b/nim/patches/patch-bin_nim-gdb
deleted file mode 100644
index 74569a3555..0000000000
--- a/nim/patches/patch-bin_nim-gdb
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-bin_nim-gdb,v 1.1 2020/06/21 07:43:29 ryoon Exp $
-
---- bin/nim-gdb.orig 2020-06-20 10:43:35.534552652 +0000
-+++ bin/nim-gdb
-@@ -0,0 +1,27 @@
-+#!/usr/bin/env bash
-+
-+# Exit if anything fails
-+set -e
-+
-+which nim > /dev/null || (echo "nim not in PATH"; exit 1)
-+which gdb > /dev/null || (echo "gdb not in PATH"; exit 1)
-+
-+if [[ "$(uname -s)" == "Darwin" || "$(uname -s)" == *"BSD" ]]; then
-+ which greadlink > /dev/null || (echo "readlink not in PATH. Please install coreutils from homebrew."; exit 1)
-+ READLINK=greadlink
-+else
-+ which readlink > /dev/null || (echo "readlink not in PATH."; exit 1)
-+ READLINK=readlink
-+fi
-+
-+# Find out where the pretty printer Python module is
-+NIM_SYSROOT=$(dirname $(dirname $($READLINK -e $(which nim))))
-+GDB_PYTHON_MODULE_PATH="$NIM_SYSROOT/tools/nim-gdb.py"
-+
-+# Run GDB with the additional arguments that load the pretty printers
-+# Set the environment variable `NIM_GDB` to overwrite the call to a
-+# different/specific command (defaults to `gdb`).
-+NIM_GDB="${NIM_GDB:-gdb}"
-+# exec replaces the new process of bash with gdb. It is always good to
-+# have fewer processes.
-+exec "${NIM_GDB}" -eval-command="source $GDB_PYTHON_MODULE_PATH" "$@"
Home |
Main Index |
Thread Index |
Old Index