mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
- fix build failures in i386 and amd64 due to compiler changes - fix numerous compilation warnings and logical errors that may trap in the future - convert all distribution files from DOS format to ease future changes - convert legacy patch file to new naming convention PR: 214990 Submitted by: bob@eager.cx (maintainer)
11 lines
591 B
C
11 lines
591 B
C
--- PDP10/pdp10_mdfp.c.orig 2016-12-01 22:43:42 UTC
|
|
+++ PDP10/pdp10_mdfp.c
|
|
@@ -493,7 +493,7 @@ if (a.fhi >= 2 * b.fhi) {
|
|
SETF (F_AOV | F_DCK | F_FOV | F_T1);
|
|
return FALSE;
|
|
}
|
|
-if (savhi = a.fhi) { /* dvd = 0? quo = 0 */
|
|
+if ((savhi = a.fhi)) { /* dvd = 0? quo = 0 */
|
|
a.sign = a.sign ^ b.sign; /* result sign */
|
|
a.exp = a.exp - b.exp + FP_BIAS + 1; /* result exponent */
|
|
a.fhi = a.fhi / (b.fhi >> (FP_N_FHI + 1)); /* do divide */
|