pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/bc



Module Name:    pkgsrc
Committed By:   markd
Date:           Wed Jul  2 02:59:05 UTC 2025

Modified Files:
        pkgsrc/math/bc: Makefile distinfo
Added Files:
        pkgsrc/math/bc/patches: patch-dc_input.c

Log Message:
bc: update to 1.08.2

Remove last vestages of K&R C; this allows gcc-15+ to compile the
  code without special options.
Plug a small memory leak in dc.
Some typo and formatting fixes in the documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/math/bc/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/math/bc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/bc/patches/patch-dc_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/bc/Makefile
diff -u pkgsrc/math/bc/Makefile:1.17 pkgsrc/math/bc/Makefile:1.18
--- pkgsrc/math/bc/Makefile:1.17        Mon Jan 13 02:22:47 2025
+++ pkgsrc/math/bc/Makefile     Wed Jul  2 02:59:05 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2025/01/13 02:22:47 ktnb Exp $
+# $NetBSD: Makefile,v 1.18 2025/07/02 02:59:05 markd Exp $
 
-DISTNAME=      bc-1.08.1
+DISTNAME=      bc-1.08.2
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GNU:=bc/}
 

Index: pkgsrc/math/bc/distinfo
diff -u pkgsrc/math/bc/distinfo:1.9 pkgsrc/math/bc/distinfo:1.10
--- pkgsrc/math/bc/distinfo:1.9 Mon Jan 13 02:22:47 2025
+++ pkgsrc/math/bc/distinfo     Wed Jul  2 02:59:05 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2025/01/13 02:22:47 ktnb Exp $
+$NetBSD: distinfo,v 1.10 2025/07/02 02:59:05 markd Exp $
 
-BLAKE2s (bc-1.08.1.tar.gz) = 5ede5d7ca52b4cc91a9b468b97e668464a0f8f582c06e569fd248389153247ad
-SHA512 (bc-1.08.1.tar.gz) = 256c94833ead8029122d3ba6475cf4ff030c208a5bd3e2e9c5c8888467215e0fa9ab34e4226791bbd6e47498c0c61f0dc6399eecb0c8cf6a43453e84911c1847
-Size (bc-1.08.1.tar.gz) = 458434 bytes
+BLAKE2s (bc-1.08.2.tar.gz) = f3295c819b3dcae3f399b9651629d954f18cf23410bfa09538df568ae55a7a12
+SHA512 (bc-1.08.2.tar.gz) = 0876a4c5bfc23da79479519c6a8e03ac9f59ae54077eb71ffdcc6ddaccb76c4b7595b088e89e6ad82d833c072eeff5b378178084276584813c00eedace4c6f8c
+Size (bc-1.08.2.tar.gz) = 457557 bytes
+SHA1 (patch-dc_input.c) = 4234f6ad487a0736e053bd2e38067d625cb2e8c2

Added files:

Index: pkgsrc/math/bc/patches/patch-dc_input.c
diff -u /dev/null pkgsrc/math/bc/patches/patch-dc_input.c:1.1
--- /dev/null   Wed Jul  2 02:59:05 2025
+++ pkgsrc/math/bc/patches/patch-dc_input.c     Wed Jul  2 02:59:05 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-dc_input.c,v 1.1 2025/07/02 02:59:05 markd Exp $
+
+<string.h> for strlen()
+
+--- dc/input.c.orig    2024-12-28 00:59:14.000000000 +0000
++++ dc/input.c
+@@ -22,6 +22,7 @@
+ #include "../config.h"
+ #include <stdio.h>
+ #include <stdlib.h> /* free, getenv */
++#include <string.h>
+ #include "dc.h"
+ 
+ static const char *PROMPT = NULL; //NULL => prior to first-readline



Home | Main Index | Thread Index | Old Index