[Lunar-commits] <moonbase> bc: Rolled a fresh patch for segfault bc -l and moved the ed and sedits into the patch too

Terry Chan tchan at lunar-linux.org
Sun Feb 28 23:54:03 CET 2010


commit 8dc13f1fa69ae92e7b875257e299998e8d64518b
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Sun Feb 28 16:54:03 2010 -0600

    bc: Rolled a fresh patch for segfault bc -l and moved the ed and sedits into the patch too
---
 utils/bc/BUILD   |    9 ++-------
 utils/bc/DETAILS |    4 ++++
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/utils/bc/BUILD b/utils/bc/BUILD
index fb5fb02..00ad86e 100644
--- a/utils/bc/BUILD
+++ b/utils/bc/BUILD
@@ -1,11 +1,6 @@
 (
-    cat <<BCEOF | ed -s bc/scan.l &&
-/_PROTOTYPE(char\ \*readline,\ (char\ \*));/d
-w
-q
-BCEOF
-
-  sedit "s:-I8:-I -8:" configure &&
+  patch_it $SOURCE_CACHE/$SOURCE2 0 &&
 
   default_build
+
 ) > $C_FIFO 2>&1
diff --git a/utils/bc/DETAILS b/utils/bc/DETAILS
index c4cfd6a..3543f84 100644
--- a/utils/bc/DETAILS
+++ b/utils/bc/DETAILS
@@ -1,8 +1,12 @@
            MODULE=bc
          VERSION=1.06
           SOURCE=$MODULE-$VERSION.tar.gz
+          SOURCE2=bc-1.06-l_segfault_fix.patch
    SOURCE_URL[0]=$GNU_URL/$MODULE/
    SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE/
+     SOURCE2_URL=$PATCH_URL
+      SOURCE_VFY=sha1:c8f258a7355b40a485007c40865480349c157292
+     SOURCE2_VFY=sha1:75f8275dc28abd31fb0b2a86f5ef199f01a39c89
         WEB_SITE=http://www.gnu.org/software/bc/bc.html
          ENTERED=20010922
          UPDATED=20010922


More information about the Lunar-commits mailing list