ports/math/bcal/files/patch-src_bcal.c
Mateusz Piotrowski f59e54edb4 math/bcal: Add a missing patch and depend on math/calc
These changes should be a part of the previous commit.
2022-01-23 17:11:50 +01:00

11 lines
289 B
C

--- src/bcal.c.orig 2022-01-23 15:55:59 UTC
+++ src/bcal.c
@@ -179,7 +179,7 @@ static int try_bc(char *expr)
int pipe_pc[2], pipe_cp[2];
size_t len;
ssize_t ret;
- char *ptr = cfg.calc ? "calc" : "bc";
+ char *ptr = cfg.calc ? "calc" : "%%BC_CMD%%";
if (!expr) {
if (curexpr)