From d62b91912811a6785837872c9521b6dbb6843ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Sun, 3 Dec 2017 01:54:11 +0300 Subject: [PATCH] bc update --- system/base/bc/actions.py | 3 +-- .../base/bc/files/fix_libmath_use_sed.patch | 22 +++++++++++++++++++ system/base/bc/pspec.xml | 16 ++++++++++---- 3 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 system/base/bc/files/fix_libmath_use_sed.patch diff --git a/system/base/bc/actions.py b/system/base/bc/actions.py index 09757272..d2c13b5f 100644 --- a/system/base/bc/actions.py +++ b/system/base/bc/actions.py @@ -9,8 +9,7 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): - autotools.configure("--with-readline \ - --without-libedit") + autotools.configure("--with-readline") def build(): autotools.make() diff --git a/system/base/bc/files/fix_libmath_use_sed.patch b/system/base/bc/files/fix_libmath_use_sed.patch new file mode 100644 index 00000000..55b18df8 --- /dev/null +++ b/system/base/bc/files/fix_libmath_use_sed.patch @@ -0,0 +1,22 @@ +diff -Nuar bc-1.07.1.orig/bc/fix-libmath_h bc-1.07.1/bc/fix-libmath_h +--- bc-1.07.1.orig/bc/fix-libmath_h 2017-04-08 01:20:02.000000000 +0300 ++++ bc-1.07.1/bc/fix-libmath_h 2017-12-03 01:52:01.125065740 +0300 +@@ -1,9 +1,9 @@ +-ed libmath.h <app:console Console-based calculator utility bc is an arbitrary precision numeric processing language and can be used as a calculator. Syntax is similar to C, but differs in many substantial areas. For example, it supports interactive execution of statements. - ftp://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2 + https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz flex texinfo readline-devel - fedora/bc-1.06.95-memleak.patch - fedora/bc-1.06-dc_ibase.patch + + fix_libmath_use_sed.patch + fedora/bc-1.06-dc_ibase.patch fedora/bc-1.06.95-doc.patch @@ -41,6 +42,13 @@ + + 2017-12-03 + 1.07.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2017-01-27 1.06.95