From owner-svn-ports-all@FreeBSD.ORG Fri Aug 24 11:00:33 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B7E31065756; Fri, 24 Aug 2012 11:00:33 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 860C78FC18; Fri, 24 Aug 2012 11:00:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7OB0X9f024351; Fri, 24 Aug 2012 11:00:33 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7OB0XA2024340; Fri, 24 Aug 2012 11:00:33 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201208241100.q7OB0XA2024340@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 24 Aug 2012 11:00:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303070 - head/math/calctool/files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 11:00:33 -0000 Author: bapt Date: Fri Aug 24 11:00:32 2012 New Revision: 303070 URL: http://svn.freebsd.org/changeset/ports/303070 Log: Fix build with clang Added: head/math/calctool/files/patch-display.c (contents, props changed) head/math/calctool/files/patch-functions.c (contents, props changed) head/math/calctool/files/patch-get.c (contents, props changed) head/math/calctool/files/patch-graphics.c (contents, props changed) Modified: head/math/calctool/files/patch-tty.c Added: head/math/calctool/files/patch-display.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/calctool/files/patch-display.c Fri Aug 24 11:00:32 2012 (r303070) @@ -0,0 +1,10 @@ +--- ./display.c.orig 1990-02-02 03:02:53.000000000 +0100 ++++ ./display.c 2012-08-24 12:52:07.093913492 +0200 +@@ -269,6 +269,7 @@ + } + + ++void + process_item(n) + int n ; + { Added: head/math/calctool/files/patch-functions.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/calctool/files/patch-functions.c Fri Aug 24 11:00:32 2012 (r303070) @@ -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. */ Added: head/math/calctool/files/patch-get.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/calctool/files/patch-get.c Fri Aug 24 11:00:32 2012 (r303070) @@ -0,0 +1,26 @@ +--- ./get.c.orig 1990-02-16 00:28:39.000000000 +0100 ++++ ./get.c 2012-08-24 12:54:31.377915039 +0200 +@@ -157,6 +157,7 @@ + } + + ++void + get_helpfile(helpname) /* Open helpfile if present. */ + char *helpname ; + { +@@ -188,6 +189,7 @@ + } + + ++void + get_rcfile(name) /* Read .calctoolrc file. */ + char *name ; + { +@@ -281,6 +283,7 @@ + } + + ++void + read_rcfiles() /* Read .calctoolrc's from home and current directories. */ + { + char *home ; /* Pathname for users home directory. */ Added: head/math/calctool/files/patch-graphics.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/calctool/files/patch-graphics.c Fri Aug 24 11:00:32 2012 (r303070) @@ -0,0 +1,44 @@ +--- ./graphics.c.orig 1990-02-02 03:02:42.000000000 +0100 ++++ ./graphics.c 2012-08-24 12:51:05.209915967 +0200 +@@ -20,7 +20,9 @@ + #include "color.h" + #include "extern.h" + ++void make_registers(); + ++void + but_text(row, column, portion, state) + int row, column, portion ; + enum but_state state ; +@@ -116,6 +118,7 @@ + } + + ++void + grey_buttons(base) /* Grey out numeric buttons depending upon base. */ + enum base_type base ; + { +@@ -142,6 +145,7 @@ + } + + ++void + handle_down_event(type) + int type ; + { +@@ -263,6 +267,7 @@ + } + + ++void + make_registers() /* Calculate memory register frame values. */ + { + char line[MAXLINE] ; /* Current memory register line. */ +@@ -279,6 +284,7 @@ + } + + ++void + process_event(type) /* Process this event. */ + int type ; + { Modified: head/math/calctool/files/patch-tty.c ============================================================================== --- head/math/calctool/files/patch-tty.c Fri Aug 24 10:48:09 2012 (r303069) +++ head/math/calctool/files/patch-tty.c Fri Aug 24 11:00:32 2012 (r303070) @@ -1,5 +1,5 @@ ---- tty.c.orig 2008-06-14 18:05:30.000000000 +0400 -+++ tty.c 2008-06-14 18:08:25.000000000 +0400 +--- ./tty.c.orig 1990-02-06 05:47:47.000000000 +0100 ++++ ./tty.c 2012-08-24 12:55:15.782915559 +0200 @@ -18,6 +18,7 @@ #include #include @@ -26,7 +26,15 @@ exit(0) ; } -@@ -315,11 +316,14 @@ +@@ -128,6 +129,7 @@ + } + + ++void + drawline(x1, y1, x2, y2) + int x1, y1, x2, y2 ; + { +@@ -315,11 +317,14 @@ SIGNAL(SIGINT, cleanup) ;