Bug 2148432 - perl-Curses: Feature detection does not work for C99 compilers
Summary: perl-Curses: Feature detection does not work for C99 compilers
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Curses
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2022-11-25 12:34 UTC by Florian Weimer
Modified: 2022-11-25 13:08 UTC (History)
2 users (show)

Fixed In Version: perl-Curses-1.41-2.fc38
Clone Of:
Environment:
Last Closed: 2022-11-25 13:08:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
perl-Curses-test-syms-c99.patch (1.79 KB, patch)
2022-11-25 12:34 UTC, Florian Weimer
no flags Details | Diff
Additional patch to remove implicit ints (433 bytes, patch)
2022-11-25 12:34 UTC, Florian Weimer
no flags Details | Diff

Description Florian Weimer 2022-11-25 12:34:09 UTC
Created attachment 1927392 [details]
perl-Curses-test-syms-c99.patch

CursesDef.h is not available during feature probing using testsym.c, and the relevant Curses headers are not included because the macros guarding the inclusion are not defined. As a result, must of the feature tests fail in C99 mode because the compiler refuses to compile calls to undefined functions.

rt.cpan.org no longer allows me to file tickets, and the upstream author says in the ticket that they prefer email anyway. So I'm filing this bug as a public reference.

Comment 1 Florian Weimer 2022-11-25 12:34:40 UTC
Created attachment 1927393 [details]
Additional patch to remove implicit ints

Comment 2 Florian Weimer 2022-11-25 13:08:12 UTC
I contacted the upstream author by email, following the README instructions.


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