520d354235
The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C, Fortran, Java, and Go, as well as libraries for these languages (libstdc++, libgcj,...). This package provides the snapshot release of version 5. On NetBSD a working cabsl function must be present in libm to build gfortran. This has been added to -current on 2014/10/10 and to NetBSD7 on 2014/10/13.
13 lines
577 B
C
13 lines
577 B
C
$NetBSD: patch-libdecnumber_decNumber.c,v 1.1 2015/07/16 12:03:36 ryoon Exp $
|
|
|
|
--- libdecnumber/decNumber.c.orig 2013-08-14 08:42:04.000000000 +0000
|
|
+++ libdecnumber/decNumber.c
|
|
@@ -770,7 +770,7 @@ decNumber * decNumberAbs(decNumber *res,
|
|
decNumber * decNumberAdd(decNumber *res, const decNumber *lhs,
|
|
const decNumber *rhs, decContext *set) {
|
|
uInt status=0; /* accumulator */
|
|
- decAddOp(res, lhs, rhs, set, 0, &status);
|
|
+ decAddOp(res, lhs, rhs, set, (uByte)0, &status);
|
|
if (status!=0) decStatus(res, status, set);
|
|
#if DECCHECK
|
|
decCheckInexact(res, set);
|