From 3e10419865149795246453e4a8aa7776c7a4f323 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 28 Feb 2005 22:14:29 +0000 Subject: Fix build on 4.X. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3746 df743ca5-7f9a-e211-a948-0013205c9059 --- math/gcalctool/files/patch-gcalctool_functions.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 math/gcalctool/files/patch-gcalctool_functions.c (limited to 'math/gcalctool') diff --git a/math/gcalctool/files/patch-gcalctool_functions.c b/math/gcalctool/files/patch-gcalctool_functions.c new file mode 100644 index 000000000..ba3d6af38 --- /dev/null +++ b/math/gcalctool/files/patch-gcalctool_functions.c @@ -0,0 +1,19 @@ +--- gcalctool/functions.c.orig Mon Feb 28 17:07:30 2005 ++++ gcalctool/functions.c Mon Feb 28 17:07:43 2005 +@@ -311,7 +311,6 @@ + void + trig_filter(char **func) + { +- assert(func); + + enum mode { + normal = 0, +@@ -322,6 +321,8 @@ + + int inverse; + int hyperbolic; ++ ++ assert(func); + + inverse = (v->inverse) ? inv : 0; + hyperbolic = (v->hyperbolic) ? hyp : 0; -- cgit v1.2.3