diff options
author | Neel Chauhan <nc@FreeBSD.org> | 2021-10-09 13:05:15 -0700 |
---|---|---|
committer | Neel Chauhan <nc@FreeBSD.org> | 2021-10-09 16:33:25 -0700 |
commit | b4c5f10e73750c5f259955cedab867d6aed5f43f (patch) | |
tree | 85e49606d520a530002edffeb4d343ed1c42c11e /math/mate-calc/files/patch-src_mate-calc-cmd.c | |
parent | x11-themes/mate-backgrounds: Update to 1.26.0 (diff) |
math/mate-calc: Update to 1.26.0
Diffstat (limited to 'math/mate-calc/files/patch-src_mate-calc-cmd.c')
-rw-r--r-- | math/mate-calc/files/patch-src_mate-calc-cmd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/math/mate-calc/files/patch-src_mate-calc-cmd.c b/math/mate-calc/files/patch-src_mate-calc-cmd.c index 86806b5f0b01..86d91a8d7f28 100644 --- a/math/mate-calc/files/patch-src_mate-calc-cmd.c +++ b/math/mate-calc/files/patch-src_mate-calc-cmd.c @@ -1,5 +1,5 @@ ---- src/mate-calc-cmd.c.orig 2013-03-24 20:56:44.000000000 -0500 -+++ src/mate-calc-cmd.c 2013-03-24 20:58:28.000000000 -0500 +--- src/mate-calc-cmd.c.orig 2021-08-04 12:19:50 UTC ++++ src/mate-calc-cmd.c @@ -8,10 +8,12 @@ * license. */ @@ -13,10 +13,11 @@ #include <time.h> #include <locale.h> -@@ -22,6 +24,77 @@ +@@ -21,6 +23,77 @@ + #define MAXLINE 1024 static MpSerializer *result_serializer; - ++ +#if __FreeBSD_version < 800067 +static ssize_t +getline (char **lineptr, size_t *n, FILE *stream) @@ -87,7 +88,6 @@ + return p - *lineptr; +} +#endif -+ + static void solve(const char *equation) - { |