Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-08-07 Thread Panu Matilainen
Heh, I very nearly reverted the duplicate-filename patch as bogus, there's no casting away being done in the code. Luckily I did check this conversation first :laughing: So the "weird" part here is why we were not seeing that const warning with glibc, but the answer is: because glibc has its ow

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-26 Thread Florian Festi
Merged #2571 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2571#event-9924253332 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint maili

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-26 Thread Neal Gompa
@Conan-Kudo approved this pull request. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2571#pullrequestreview-1547721323 You are receiving this because you are subscribed to this thread. Message ID: __

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-26 Thread Florian Festi
Sorry, this cast to (char*) makes me feel uneasy even if it is save here. Will merge after the test suite passes. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2571#issuecomment-1651780526 You are receiving this because you are subscrib

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-26 Thread Florian Festi
@ffesti pushed 3 commits. a1ead60c4e936fc154df917b54027a2e008b12b3 Fix missing signal.h include c3db93214ec4f373be2d76c732efd7f7fc7dcdc7 Fix missing basename include on macOS 39f007b68e6f7d99d223a0e06076d88a8e4355bb Duplicate filename before passing it to basename -- View it on GitHub: https

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-12 Thread Neal Gompa
@Conan-Kudo approved this pull request. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2571#pullrequestreview-1526434141 You are receiving this because you are subscribed to this thread. Message ID: __

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-12 Thread Calvin Buckley
@NattyNarwhal pushed 1 commit. cd8878d51fc1d8dc177bed2a4e622eb07570a91c Cast to fix constiness checks -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/2571/files/56831f16ff2588bc61c9a252fb3157f5246c47f7..cd8878d51fc1d8dc177bed2a4e622eb07570a91c You are receiving this be

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-12 Thread Calvin Buckley
That's weird, `basename(3)` should take a `char*`, not `const char*`, per the glibc and macOS man page. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2571#issuecomment-163278 You are receiving this because you are subscribed to this

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-12 Thread Neal Gompa
@Conan-Kudo requested changes on this pull request. Looks like this isn't working exactly: >From CI: ``` [ 73%] Building C object CMakeFiles/rpmuncompress.dir/tools/rpmuncompress.c.o /srv/rpm/tools/rpmuncompress.c: In function 'doUntar': /srv/rpm/tools/rpmuncompress.c:101:39: error: passing ar

Re: [Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-12 Thread Neal Gompa
@Conan-Kudo approved this pull request. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2571#pullrequestreview-1526020644 You are receiving this because you are subscribed to this thread. Message ID: __

[Rpm-maint] [rpm-software-management/rpm] Fix missing includes on macOS (PR #2571)

2023-07-11 Thread Calvin Buckley
These two headers were missing, and would break with implicit function declarations disabled. I assume glibc and friends includes these through other headers. This should fix the build on macOS. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-ma