diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2014-11-06 10:12:08 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-07 06:59:55 +0000 |
commit | d968a96139fcc2f78ea425e542edde1947a4af6c (patch) | |
tree | 6483c0d288162e2b18601cfa22306bfc837bb379 /main/pcmciautils/unsigned.patch | |
parent | 3bb55faf0c0fcf1398369110fb9256fe2459f7e4 (diff) | |
download | aports-d968a96139fcc2f78ea425e542edde1947a4af6c.tar.bz2 aports-d968a96139fcc2f78ea425e542edde1947a4af6c.tar.xz |
main/pcmciautils: fix build
Add patch to change u_{int,long} to unsigned {int, long}.
ref #2976
Diffstat (limited to 'main/pcmciautils/unsigned.patch')
-rw-r--r-- | main/pcmciautils/unsigned.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/pcmciautils/unsigned.patch b/main/pcmciautils/unsigned.patch new file mode 100644 index 0000000000..8781068f8d --- /dev/null +++ b/main/pcmciautils/unsigned.patch @@ -0,0 +1,22 @@ +--- pcmciautils-018/src/read-cis.c.orig 2014-11-06 10:07:20.363207536 +0600 ++++ pcmciautils-018/src/read-cis.c 2014-11-06 10:08:37.143611772 +0600 +@@ -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; +--- pcmciautils-018/src/yacc_config.y.orig 2014-11-06 10:08:55.857046934 +0600 ++++ pcmciautils-018/src/yacc_config.y 2014-11-06 10:09:10.543788999 +0600 +@@ -40,7 +40,7 @@ + + %union { + char *str; +- u_long num; ++ unsigned long num; + struct adjust_list_t *adjust; + } + |