diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2013-02-04 08:52:19 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2013-02-04 08:52:19 +0000 |
commit | b2b8aabaa89ecd00044d0270aa39ab2feab5fe44 (patch) | |
tree | cc7ccd42e107b1ebd6afbdf7986a533c0c812ef0 /math/snns/files/patch-xgui__sources__ui_main.c | |
parent | - Fix build using CLANG. (diff) |
- Fix build using CLANG.
- Add MAKE_JOBS_UNSAFE.
PR: ports/175015
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'math/snns/files/patch-xgui__sources__ui_main.c')
-rw-r--r-- | math/snns/files/patch-xgui__sources__ui_main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/math/snns/files/patch-xgui__sources__ui_main.c b/math/snns/files/patch-xgui__sources__ui_main.c index 62bf3c29ae30..b7059b2bd5d4 100644 --- a/math/snns/files/patch-xgui__sources__ui_main.c +++ b/math/snns/files/patch-xgui__sources__ui_main.c @@ -1,11 +1,12 @@ ---- xgui/sources/ui_main.c.orig Sat Dec 4 13:08:46 1999 -+++ xgui/sources/ui_main.c Sat Dec 4 13:08:04 1999 +--- xgui/sources/ui_main.c.orig 2008-04-21 16:56:25.000000000 +0900 ++++ xgui/sources/ui_main.c 2012-10-24 04:51:45.000000000 +0900 @@ -329,8 +329,10 @@ UPDATE : 1.4.1990 ******************************************************************************/ +-void main (int argc, char **argv) +#include <floatingpoint.h> - void main (int argc, char **argv) ++int main (int argc, char **argv) { + fpsetmask(0); ui_toplevel = XtAppInitialize(&ui_appContext, "Popup", NULL, ZERO, |