diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /sys-apps/pcmciautils/files | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'sys-apps/pcmciautils/files')
-rw-r--r-- | sys-apps/pcmciautils/files/pcmciautils-018_p8-musl-unsigned-type.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-apps/pcmciautils/files/pcmciautils-018_p8-musl-unsigned-type.patch b/sys-apps/pcmciautils/files/pcmciautils-018_p8-musl-unsigned-type.patch new file mode 100644 index 000000000000..6039b8147096 --- /dev/null +++ b/sys-apps/pcmciautils/files/pcmciautils-018_p8-musl-unsigned-type.patch @@ -0,0 +1,24 @@ +https://git.alpinelinux.org/aports/plain/main/pcmciautils/unsigned.patch +https://bugs.gentoo.org/716120 +--- a/src/read-cis.c ++++ b/src/read-cis.c +@@ -51,7 +51,7 @@ + /* Get indirect link from the MFC tuple */ + read_cis(tuple->Flags.link_space, + tuple->LinkOffset, 5, link); +- ofs = *(u_int *)(link+1); ++ ofs = *(unsigned int *)(link+1); + tuple->Flags.space = (link[0] == CISTPL_MFC_ATTR); + /* Move to the next indirect link */ + tuple->LinkOffset += 5; +--- a/src/yacc_config.y ++++ b/src/yacc_config.y +@@ -40,7 +40,7 @@ + + %union { + char *str; +- u_long num; ++ unsigned long num; + struct adjust_list_t *adjust; + } + |