From owner-svn-src-stable-12@freebsd.org Wed Sep 25 14:33:10 2019 Return-Path: Delivered-To: svn-src-stable-12@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1034F128EF5; Wed, 25 Sep 2019 14:33:10 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46dgX56j0Cz3yb4; Wed, 25 Sep 2019 14:33:09 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C9964191D5; Wed, 25 Sep 2019 14:33:09 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8PEX96e057617; Wed, 25 Sep 2019 14:33:09 GMT (envelope-from jhibbits@FreeBSD.org) Received: (from jhibbits@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8PEX9D4057615; Wed, 25 Sep 2019 14:33:09 GMT (envelope-from jhibbits@FreeBSD.org) Message-Id: <201909251433.x8PEX9D4057615@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhibbits set sender to jhibbits@FreeBSD.org using -f From: Justin Hibbits Date: Wed, 25 Sep 2019 14:33:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r352685 - stable/12/lib/msun/src X-SVN-Group: stable-12 X-SVN-Commit-Author: jhibbits X-SVN-Commit-Paths: stable/12/lib/msun/src X-SVN-Commit-Revision: 352685 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-12@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for only the 12-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2019 14:33:10 -0000 Author: jhibbits Date: Wed Sep 25 14:33:08 2019 New Revision: 352685 URL: https://svnweb.freebsd.org/changeset/base/352685 Log: MFC r342563: libm: Include float.h to get LDBL_MANT_DIG The long double aliases of double functions are only exposed as aliases if LDBL_MANT_DIG is 53 (same as DBL_MANT_DIG). Without float.h included these files were not exposing weak aliases as expected, leading to link failures if programs use the *l functions. This should fix editors/calligra on targets with 64-bit long double, which uses erfl and erfcl. Found on powerpc64. Modified: stable/12/lib/msun/src/s_cbrt.c stable/12/lib/msun/src/s_cproj.c stable/12/lib/msun/src/s_erf.c Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/msun/src/s_cbrt.c ============================================================================== --- stable/12/lib/msun/src/s_cbrt.c Wed Sep 25 13:36:56 2019 (r352684) +++ stable/12/lib/msun/src/s_cbrt.c Wed Sep 25 14:33:08 2019 (r352685) @@ -15,6 +15,7 @@ #include __FBSDID("$FreeBSD$"); +#include #include "math.h" #include "math_private.h" Modified: stable/12/lib/msun/src/s_cproj.c ============================================================================== --- stable/12/lib/msun/src/s_cproj.c Wed Sep 25 13:36:56 2019 (r352684) +++ stable/12/lib/msun/src/s_cproj.c Wed Sep 25 14:33:08 2019 (r352685) @@ -30,6 +30,7 @@ __FBSDID("$FreeBSD$"); #include +#include #include #include "math_private.h" Modified: stable/12/lib/msun/src/s_erf.c ============================================================================== --- stable/12/lib/msun/src/s_erf.c Wed Sep 25 13:36:56 2019 (r352684) +++ stable/12/lib/msun/src/s_erf.c Wed Sep 25 14:33:08 2019 (r352685) @@ -107,7 +107,7 @@ __FBSDID("$FreeBSD$"); * erfc/erf(NaN) is NaN */ - +#include #include "math.h" #include "math_private.h"