summaryrefslogtreecommitdiff
path: root/math/calctool/files/patch-functions.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-08-24 11:00:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-08-24 11:00:32 +0000
commit3cfef80e56979634e21dc7670ab9c381e6d2a46c (patch)
treeb13213d326e5852d2f7c415f2d1607c40d3f94f0 /math/calctool/files/patch-functions.c
parentFix build with clang (diff)
Fix build with clang
Notes
Notes: svn path=/head/; revision=303070
Diffstat (limited to 'math/calctool/files/patch-functions.c')
-rw-r--r--math/calctool/files/patch-functions.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/math/calctool/files/patch-functions.c b/math/calctool/files/patch-functions.c
new file mode 100644
index 000000000000..c1b21b5e5fe9
--- /dev/null
+++ b/math/calctool/files/patch-functions.c
@@ -0,0 +1,26 @@
+--- ./functions.c.orig 1993-06-02 19:13:52.000000000 +0200
++++ ./functions.c 2012-08-24 12:53:33.505914506 +0200
+@@ -233,6 +233,7 @@
+ }
+
+
++void
+ do_help() /* Show online help facility. */
+ {
+ char help_str[MAXLINE], nextline[MAXLINE], *p ;
+@@ -333,6 +334,7 @@
+ }
+
+
++void
+ do_number()
+ {
+ int n ;
+@@ -371,6 +373,7 @@
+ }
+
+
++void
+ do_pending()
+ {
+ if (base != DEC) grey_buttons(DEC) ; /* Reshow all the keys. */