summaryrefslogtreecommitdiffstats
path: root/shell-term-fm
diff options
context:
space:
mode:
authorIsmael Luceno2021-03-20 22:51:28 +0100
committerIsmael Luceno2021-03-20 22:53:29 +0100
commit1d0ebed3d5c3a57fbcee0764e6f75f57253ee0f9 (patch)
tree1b53cd918b1ede1b3be841e91f3ae57d2429d009 /shell-term-fm
parent4e3ee17bc5a9596a12c6b192136d90a9a3432d57 (diff)
tcsh: Fix musl build
The internal malloc implementation is buggy; use system malloc like with glibc.
Diffstat (limited to 'shell-term-fm')
-rw-r--r--shell-term-fm/tcsh/HISTORY1
-rwxr-xr-xshell-term-fm/tcsh/PRE_BUILD4
2 files changed, 5 insertions, 0 deletions
diff --git a/shell-term-fm/tcsh/HISTORY b/shell-term-fm/tcsh/HISTORY
index 912d20745a..42b791c1bb 100644
--- a/shell-term-fm/tcsh/HISTORY
+++ b/shell-term-fm/tcsh/HISTORY
@@ -1,5 +1,6 @@
2021-03-20 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 6.22.03
+ * PRE_BUILD: fixed musl build; use system malloc like with glibc
2019-05-27 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 6.21.00
diff --git a/shell-term-fm/tcsh/PRE_BUILD b/shell-term-fm/tcsh/PRE_BUILD
new file mode 100755
index 0000000000..994b488833
--- /dev/null
+++ b/shell-term-fm/tcsh/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+# XXX the internal malloc implementation is buggy
+sedit '/^# *undef SYSMALLOC/s/undef/define/' config_f.h