Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (8d6317600f1079d4bb7154923a7513acac08d36a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (8d6317600f1079d4bb7154923a7513acac08d36a)
  • Date: Sat, 14 Mar 2020 17:50:07 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

science/bc/DEPENDS | 1 -
science/bc/DETAILS | 4 +++-
science/bc/HISTORY | 6 ++++++
science/bc/PRE_BUILD | 4 ++++
science/bc/no-ed.patch | 17 +++++++++++++++++
5 files changed, 30 insertions(+), 2 deletions(-)

New commits:
commit 8d6317600f1079d4bb7154923a7513acac08d36a
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

bc: drop ed dependency

diff --git a/science/bc/DEPENDS b/science/bc/DEPENDS
index a4d90e4..0fa005e 100755
--- a/science/bc/DEPENDS
+++ b/science/bc/DEPENDS
@@ -1,3 +1,2 @@
-depends ed &&
depends flex &&
depends "${INPUT_LIBRARY}" "--with-${INPUT_LIBRARY}"
diff --git a/science/bc/DETAILS b/science/bc/DETAILS
index a267c7f..42bf15f 100755
--- a/science/bc/DETAILS
+++ b/science/bc/DETAILS
@@ -1,7 +1,7 @@
SPELL=bc
VERSION=1.07.1
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=$GNU_URL/$SPELL/$SOURCE
SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$SPELL/$SOURCE
SOURCE2="${SOURCE}.sig"
@@ -9,6 +9,8 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE2_URL[1]="${SOURCE_URL[1]}.sig"
SOURCE_GPG="gnu.gpg:${SOURCE2}:UPSTREAM_KEY"
SOURCE2_IGNORE="signature"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOC_DIRS=""
WEB_SITE=http://www.gnu.org/software/bc/bc.html
LICENSE[0]=GPL
ENTERED=20010922
diff --git a/science/bc/HISTORY b/science/bc/HISTORY
index 6064bb0..2d3aba6 100644
--- a/science/bc/HISTORY
+++ b/science/bc/HISTORY
@@ -1,3 +1,9 @@
+2020-03-14 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1; don't gather docs in doc
+ * DEPENDS: removed ed
+ * PRE_BUILD: added, to apply patch
+ * no-ed.patch: added, to replace ed with sed
+
2017-04-10 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.07.1, switched to gpg checking
* PRE_BUILD: removed, fixed by upstream
diff --git a/science/bc/PRE_BUILD b/science/bc/PRE_BUILD
new file mode 100755
index 0000000..9a9dab6
--- /dev/null
+++ b/science/bc/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "${SPELL_DIRECTORY}/no-ed.patch"
diff --git a/science/bc/no-ed.patch b/science/bc/no-ed.patch
new file mode 100644
index 0000000..7a9fc71
--- /dev/null
+++ b/science/bc/no-ed.patch
@@ -0,0 +1,17 @@
+--- bc/fix-libmath_h.orig
++++ bc/fix-libmath_h
+@@ -1,9 +1,6 @@
+-ed libmath.h <<EOS-EOS
++sed -i libmath.h -e '
+ 1,1s/^/{"/
+-1,\$s/\$/",/
+-2,\$s/^/"/
+-\$,\$d
+-\$,\$s/,\$/,0}/
+-w
+-q
+-EOS-EOS
++1,$s/$/",/
++2,$s/^/"/
++$s/.*/0}/
++'



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (8d6317600f1079d4bb7154923a7513acac08d36a), Vlad Glagolev, 03/14/2020

Archive powered by MHonArc 2.6.24.

Top of Page