Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jan 2000 20:42:56 +0100 (CET)
From:      domi@saargate.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15823: fix for /usr/ports/math/geg problem
Message-ID:  <200001011942.UAA50208@dominik.saargate.de>

next in thread | raw e-mail | index | archive | help

>Number:         15823
>Category:       ports
>Synopsis:       fix for /usr/ports/math/geg problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan  1 12:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dominik Brettnacher
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:
>Description:

	/usr/ports/math/geg no longer coredumps on division by zero

>How-To-Repeat:
>Fix:

diff -urN geg.old/patches/patch-ab geg/patches/patch-ab
--- geg.old/patches/patch-ab	Thu Jan  1 01:00:00 1970
+++ geg/patches/patch-ab	Sat Jan  1 20:36:28 2000
@@ -0,0 +1,16 @@
+--- src/main.c.orig	Sat Jan  1 20:35:47 2000
++++ src/main.c	Sat Jan  1 20:36:14 2000
+@@ -10,10 +10,13 @@
+ #include "app.h"
+ #include <gtk/gtk.h>
+ #include <stdio.h>
++#include <ieeefp.h>
+ 
+ int
+ main(int argc, char *argv[])
+ {
++  fpsetmask(0);
++
+   parse_command_line(argc, argv);
+   parse_rcfile();
+ 

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001011942.UAA50208>