Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

c_gpio: build fix for musl libc #41

Merged
merged 1 commit into from
May 14, 2015
Merged

Conversation

ncopa
Copy link
Contributor

@ncopa ncopa commented Oct 28, 2014

caddr_t is a legacy BSD type which was rejected by the POSIX standard.
Use void * instead.

This solves a build failure with musl libc.

Fixes #40

caddr_t is a legacy BSD type which was rejected by the POSIX standard.
Use void * instead.

This solves a build failure with musl libc.

Fixes metachris#40
metachris pushed a commit that referenced this pull request May 14, 2015
c_gpio: build fix for musl libc
@metachris metachris merged commit f09aca3 into metachris:master May 14, 2015
@metachris
Copy link
Owner

Thanks! 👍

agherzan pushed a commit to agherzan/meta-raspberrypi that referenced this pull request Apr 20, 2022
Drop the 0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch
patch as it was fixed in this version[1].

This switches the source from pypi to git (github) as the new version
wasn't published yet.

Lastly, we use the LICENSE.txt file for LIC_FILES_CHKSUM so we don't
have to deal with context lines in the README file.

[1] metachris/RPIO#41

Signed-off-by: Andrei Gherzan <[email protected]>
agherzan pushed a commit to agherzan/meta-raspberrypi that referenced this pull request Apr 20, 2022
Drop the 0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch
patch as it was fixed in this version[1].

This switches the source from pypi to git (github) as the new version
wasn't published yet.

Lastly, we use the LICENSE.txt file for LIC_FILES_CHKSUM so we don't
have to deal with context lines in the README file.

[1] metachris/RPIO#41

Signed-off-by: Andrei Gherzan <[email protected]>
agherzan pushed a commit to agherzan/meta-raspberrypi that referenced this pull request Apr 21, 2022
Drop the 0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch
patch as it was fixed in this version[1].

This switches the source from pypi to git (github) as the new version
wasn't published yet.

Lastly, we use the LICENSE.txt file for LIC_FILES_CHKSUM so we don't
have to deal with context lines in the README file.

[1] metachris/RPIO#41

Signed-off-by: Andrei Gherzan <[email protected]>
agherzan pushed a commit to agherzan/meta-raspberrypi that referenced this pull request Apr 21, 2022
Drop the 0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch
patch as it was fixed in this version[1].

This switches the source from pypi to git (github) as the new version
wasn't published yet.

Lastly, we use the LICENSE.txt file for LIC_FILES_CHKSUM so we don't
have to deal with context lines in the README file.

[1] metachris/RPIO#41

Signed-off-by: Andrei Gherzan <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fails to build with musl libc due to use of caddr_t
2 participants