Skip to contentSkip to conversation

bc: Bump to version 1.06.95

PATCH Superseded grepper 2 participants 2 messages Jun 11, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

grepper

author
#0 lore raw

PATCH 1/1 bc: Bump to version 1.06.95

---
 package/bc/01_typo_in_bc.patch               |  19 +
 package/bc/02_hyphens_as_minus_in_man.patch  |  89 ++++
 package/bc/03_array_initialize.patch         |  20 +
 package/bc/04_info_dircategory.patch         |  30 ++
 package/bc/05_notice_read_write_errors.patch | 708 +++++++++++++++++++++++++++
 package/bc/06_read_dcrc.patch                |  92 ++++
 package/bc/07_bc_man.patch                   | 417 ++++++++++++++++
 package/bc/bc.hash                           |   2 +-
 package/bc/bc.mk                             |   5 +-
 9 files changed, 1379 insertions(+), 3 deletions(-)
 create mode 100644 package/bc/01_typo_in_bc.patch
 create mode 100644 package/bc/02_hyphens_as_minus_in_man.patch
 create mode 100644 package/bc/03_array_initialize.patch
 create mode 100644 package/bc/04_info_dircategory.patch
 create mode 100644 package/bc/05_notice_read_write_errors.patch
 create mode 100644 package/bc/06_read_dcrc.patch
 create mode 100644 package/bc/07_bc_man.patch
package/bc/01_typo_in_bc.patch new file +19 -0
new file mode 100644
index 0000000..97f51a2
@@ -0,0 +1,19 @@
+Description: Fix a typo in bc
+Author: Ryan Kavanagh <[email protected]>
+Origin: vendor
+Forwarded: no
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: bc/bc/bc.c
+===================================================================
+--- bc.orig/bc/bc.c	2013-04-21 15:37:22.457003102 -0400
++++ bc/bc/bc.c	2013-04-21 16:17:44.649193374 -0400
+@@ -1922,7 +1922,7 @@
+ #line 460 "bc.y"
+     {
+ 			      if ((yyvsp[0].i_value) & EX_COMP)
+-				warn ("comparison in return expresion");
++				warn ("comparison in return expression");
+ 			      if (!((yyvsp[0].i_value) & EX_PAREN))
+ 				warn ("return expression requires parenthesis");
+ 			      if ((yyvsp[0].i_value) & EX_VOID)
package/bc/02_hyphens_as_minus_in_man.patch new file +89 -0

89 lines not on this page · raw message

package/bc/03_array_initialize.patch new file +20 -0
new file mode 100644
index 0000000..9520d82
@@ -0,0 +1,20 @@
+Description: Fix array initialization bug
+Author: Phil Nelson
+Origin: upstream
+Bug-Debian: http://bugs.debian.org/586969
+Bug-Debian: http://bugs.debian.org/671513
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: bc/bc/storage.c
+===================================================================
+--- bc.orig/bc/storage.c	2013-06-02 20:34:09.401273864 -0400
++++ bc/bc/storage.c	2013-06-02 20:34:11.000000000 -0400
+@@ -179,7 +179,7 @@
+ 
+ 
+   /* Initialize the new elements. */
+-  for (; indx < v_count; indx++)
++  for (; indx < a_count; indx++)
+     arrays[indx] = NULL;
+ 
+   /* Free the old elements. */
package/bc/04_info_dircategory.patch new file +30 -0
new file mode 100644
index 0000000..2918df2
@@ -0,0 +1,30 @@
+Description: Set the dircategory of info pages to Math
+ Converted from an inline patch introduced in 1.06.95-3 (git commit 9be25538) 
+Author: John G. Hasler <[email protected]>
+Origin: vendor
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: bc/doc/bc.texi
+===================================================================
+--- bc.orig/doc/bc.texi	2013-05-03 16:34:41.604415944 -0400
++++ bc/doc/bc.texi	2013-05-03 16:34:49.760617149 -0400
+@@ -16,6 +16,7 @@
+ @c end tex
+ 
+ @ifinfo
++ at dircategory Math
+ @direntry
+ * bc: (bc).                    An arbitrary precision calculator language.
+ @end direntry
+Index: bc/doc/dc.texi
+===================================================================
+--- bc.orig/doc/dc.texi	2013-05-03 16:34:41.604415944 -0400
++++ bc/doc/dc.texi	2013-05-03 16:34:50.528636094 -0400
+@@ -23,6 +23,7 @@
+ @syncodeindex tp fn
+ 
+ @ifinfo
++ at dircategory Math
+ @direntry
+ * dc: (dc).                   Arbitrary precision RPN ``Desktop Calculator''.
+ @end direntry
package/bc/05_notice_read_write_errors.patch new file +708 -0

708 lines not on this page · raw message

package/bc/06_read_dcrc.patch new file +92 -0

92 lines not on this page · raw message

package/bc/07_bc_man.patch new file +417 -0

417 lines not on this page · raw message

package/bc/bc.hash +1 -1
index 241e9a2..c9c786a 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256	4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33  bc-1.06.tar.gz
+sha256  7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc  bc-1.06.95.tar.bz2
package/bc/bc.mk +3 -2
index 60530bd..63948a0 100644
@@ -4,8 +4,9 @@
 #
 ################################################################################
 
-BC_VERSION = 1.06
-BC_SITE = $(BR2_GNU_MIRROR)/bc
+BC_VERSION = 1.06.95
+BC_SITE = http://alpha.gnu.org/gnu/bc
+BC_SOURCE    = bc-$(BC_VERSION).tar.bz2
 BC_DEPENDENCIES = host-flex
 BC_LICENSE = GPLv2+ LGPLv2.1+
 BC_LICENSE_FILES = COPYING COPYING.LIB
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 bc: Bump to version 1.06.95

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"grepper" == grepper <[email protected]> writes:

A more detailed description would be good, like the fact that the 1.06 release is ~15 years old and other distibutions are also using the (very old) alpha release.

Quoted 1 line

Can you please use your real name, Robert? (Both in From and in your S-O-B).

Quoted 8 lines
---
 package/bc/01_typo_in_bc.patch               |  19 +
 package/bc/02_hyphens_as_minus_in_man.patch  |  89 ++++
 package/bc/03_array_initialize.patch         |  20 +
 package/bc/04_info_dircategory.patch         |  30 ++
 package/bc/05_notice_read_write_errors.patch | 708 +++++++++++++++++++++++++++
 package/bc/06_read_dcrc.patch                |  92 ++++
 package/bc/07_bc_man.patch                   | 417 ++++++++++++++++

Please document where these patches come from. Are they all needed? From a quick check only patch 03 and maybe 05 seems critical, the rest are just documentation stuff.

Care to fixup these issues and resend? Thanks!

Signature · 1 line
Bye, Peter Korsgaard