aboutsummaryrefslogtreecommitdiff
path: root/sub/socklog/patch.sed
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-30 14:44:04 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-30 14:44:04 +0000
commit61c8a693f00ce1c5141ec5f8339298f796f29707 (patch)
tree99316c6ebdca7a7b0f3448547aa029172f0979ab /sub/socklog/patch.sed
parent984b96ebcb50565898052a430d3422983c2d7df5 (diff)
downloadlh-bootstrap-61c8a693f00ce1c5141ec5f8339298f796f29707.tar.xz
Add network and syslogd
Diffstat (limited to 'sub/socklog/patch.sed')
-rw-r--r--sub/socklog/patch.sed5
1 files changed, 5 insertions, 0 deletions
diff --git a/sub/socklog/patch.sed b/sub/socklog/patch.sed
new file mode 100644
index 0000000..0540d27
--- /dev/null
+++ b/sub/socklog/patch.sed
@@ -0,0 +1,5 @@
+s/choose compile load tryshsgr\.c hasshsgr\.h1 hasshsgr\.h2 chkshsgr /choose compile load tryshsgr.c hasshsgr.h1 hasshsgr.h2 /
+s/ar cr /$(TRIPLE)-ar cr /
+s/ranlib /$(TRIPLE)-ranlib /
+s%\./chkshsgr ||%true ||%
+s%\./choose clr tryshsgr hasshsgr\.h1 hasshsgr\.h2 > hasshsgr\.h%cat hasshsgr.h1 > hasshsgr.h%