Bug 2187168 - star: Build in C89 mode
Summary: star: Build in C89 mode
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: star
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCExemptions
TreeView+ depends on / blocked
 
Reported: 2023-04-17 06:37 UTC by Florian Weimer
Modified: 2023-08-16 09:23 UTC (History)
2 users (show)

Fixed In Version: star-1.6-9.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-17 07:14:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
star-configure-c99.patch (5.57 KB, patch)
2023-04-17 06:38 UTC, Florian Weimer
no flags Details | Diff
config.guess fix (658 bytes, patch)
2023-04-17 06:58 UTC, Florian Weimer
no flags Details | Diff

Description Florian Weimer 2023-04-17 06:37:59 UTC
The configure script has many C89isms in it, so the package will not build correctly with future compilers. Given the unclear upstream state, I prefer not to spend efforts on fixing this, and we should build star in C89 mode.

config.guess runs the compiler without passing any flags, so that part at least needs to be fixed.

Reproducible: Always

Comment 1 Florian Weimer 2023-04-17 06:38:59 UTC
Created attachment 1957788 [details]
star-configure-c99.patch

config.guess fix

Comment 2 Florian Weimer 2023-04-17 06:58:41 UTC
Created attachment 1957789 [details]
config.guess fix

Smaller patch.


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