Bug 2165921 - libuninum does not build with C99
Summary: libuninum does not build with C99
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libuninum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Arjun Shankar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2023-01-31 13:32 UTC by Arjun Shankar
Modified: 2023-02-02 19:03 UTC (History)
2 users (show)

Fixed In Version: libuninum-2.7-33.fc38
Clone Of:
Environment:
Last Closed: 2023-02-02 19:03:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
libuninum-fedora-rawhide-port-configure-to-c99-v2.patch (2.71 KB, patch)
2023-01-31 15:14 UTC, Arjun Shankar
no flags Details | Diff

Description Arjun Shankar 2023-01-31 13:32:46 UTC
The configure script for libuninum uses the exit function without including stdlib.h. This means that future compilers which do no support implicit declarations by default will fail to build libuninum.

Comment 1 Arjun Shankar 2023-01-31 14:09:51 UTC
Created attachment 1941309 [details]
libuninum-fedora-rawhide-port-configure-to-c99.patch

This patch should fix the issue.

Scratch build here: https://koji.fedoraproject.org/koji/taskinfo?taskID=96918231

Comment 2 Arjun Shankar 2023-01-31 15:14:57 UTC
Created attachment 1941330 [details]
libuninum-fedora-rawhide-port-configure-to-c99-v2.patch

v2 patch: removed unnecessary 'touch' added at build time.
New scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=96920462

Comment 3 Terje Røsten 2023-02-02 19:03:32 UTC
Seems to be fixed:

 https://koji.fedoraproject.org/koji/buildinfo?buildID=2144591


Note You need to log in before you can comment on or make changes to this bug.