summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch b/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch
index ce8e456186b7..2fc7519191fb 100644
--- a/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch
+++ b/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch
@@ -6,8 +6,9 @@ to use sed instead of ed. the changes are straight forward:
--- a/bc/fix-libmath_h
+++ b/bc/fix-libmath_h
-@@ -1,9 +1,6 @@
+@@ -1,9 +1,7 @@
-ed libmath.h <<EOS-EOS
++#!/bin/sh
+sed -i libmath.h -e '
1,1s/^/{"/
-1,\$s/\$/",/