aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>1999-12-29 07:58:35 +0800
committerjim <jim@FreeBSD.org>1999-12-29 07:58:35 +0800
commitc9324a8925046e6283ced26a985f5ab1d39f7102 (patch)
treefbe1845202ae89f6c25e41430a80c94926b24c01 /net
parent761f9beb5e525dab5142b5262659f57641451bc2 (diff)
downloadfreebsd-ports-gnome-c9324a8925046e6283ced26a985f5ab1d39f7102.tar.gz
freebsd-ports-gnome-c9324a8925046e6283ced26a985f5ab1d39f7102.tar.zst
freebsd-ports-gnome-c9324a8925046e6283ced26a985f5ab1d39f7102.zip
Fix a crash on -STABLE with a SIGFPE error which would happen every few
seconds after startup. Submitted by: Vivek Khera <khera@kciLink.com>
Diffstat (limited to 'net')
-rw-r--r--net/gaim-snapshot/files/patch-aa11
-rw-r--r--net/gaim/files/patch-aa11
2 files changed, 22 insertions, 0 deletions
diff --git a/net/gaim-snapshot/files/patch-aa b/net/gaim-snapshot/files/patch-aa
new file mode 100644
index 000000000000..75d06bf45537
--- /dev/null
+++ b/net/gaim-snapshot/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/buddy.c.orig Wed Nov 3 20:00:06 1999
++++ src/buddy.c Fri Dec 17 18:55:24 1999
+@@ -202,7 +202,7 @@
+
+
+ pct = last_lag_us/100000;
+- pct = 25 * log(pct);
++ pct = 25 * log(pct+1.0);
+
+ if (pct < 0)
+ pct = 0;
diff --git a/net/gaim/files/patch-aa b/net/gaim/files/patch-aa
new file mode 100644
index 000000000000..75d06bf45537
--- /dev/null
+++ b/net/gaim/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/buddy.c.orig Wed Nov 3 20:00:06 1999
++++ src/buddy.c Fri Dec 17 18:55:24 1999
+@@ -202,7 +202,7 @@
+
+
+ pct = last_lag_us/100000;
+- pct = 25 * log(pct);
++ pct = 25 * log(pct+1.0);
+
+ if (pct < 0)
+ pct = 0;