Bug 2148733 - dmraid: Build fixes for C99 compilers
Summary: dmraid: Build fixes for C99 compilers
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dmraid
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2022-11-27 15:40 UTC by Florian Weimer
Modified: 2023-11-22 14:11 UTC (History)
10 users (show)

Fixed In Version: dmraid-1.0.0.rc16-54.fc38
Clone Of:
Environment:
Last Closed: 2022-11-27 15:51:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dmraid C99 fix (447 bytes, patch)
2022-11-27 15:40 UTC, Florian Weimer
no flags Details | Diff
dmraid-c99.patch (899 bytes, patch)
2023-11-22 14:11 UTC, Florian Weimer
no flags Details | Diff

Description Florian Weimer 2022-11-27 15:40:26 UTC
Created attachment 1927836 [details]
dmraid C99 fix

It looks like Fedora is the de-facto upstream for this package, so reporting the bug here. A small fix is needed to build the sources with a compiler that does not support implicit ints.

Comment 1 Florian Weimer 2022-11-27 15:51:59 UTC
I'm closing this bug after applying the patch to rawhide, under the assumption that this patch is not needed anywhere else.

Comment 2 Florian Weimer 2023-11-22 14:11:07 UTC
Created attachment 2000905 [details]
dmraid-c99.patch

Updated patch with -Wreturn-mismatch fix.


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