Bug 113852
Summary: | mess with signbit function in octave source rpm | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Sysoltsev Slawa <vyatcheslav.sysoltsev> | ||||||
Component: | octave | Assignee: | Lon Hohberger <lhh> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 2.1.57-2 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-09-29 21:07:27 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Sysoltsev Slawa
2004-01-19 15:32:44 UTC
Created attachment 101360 [details]
Include math.h in lo_ieee.h
This should fix the problem with respect to signbit being defined as 0. By
including math.h, signbit will be defined and lo_ieee_signbit() will thus be
defined to signbit().
Patch untested. Patch fails test. Created attachment 101380 [details]
Include math.h and define _GNU_SOURCE to get signbit definition
This patch causes inclusion of math.h in lo-ieee.h if signbit and
HAVE_SIGNBIT/HAVE_COPYSIGN aren't defined, with _GNU_SOURCE defined so that
signbit gets defined on platforms which support the _GNU_SOURCE macro.
If signbit is not defined, the build stops. (This isn't necessary, nor
desirable, for upstream use, but can be useful to detect this problem in the
future.
Typo. s/GUN/GNU/g in the patch. |