diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2018-11-05 19:45:23 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2018-11-05 19:45:23 +0000 |
commit | 84d32eb935bba99b74293bdd739c1129a4ece532 (patch) | |
tree | 70869d3fc1aaeed93177c2b3bd99a66b39547640 /biology/iolib | |
parent | a49b9e822cdada76681a98dfab586f0b8929ec72 (diff) | |
download | ports-84d32eb935bba99b74293bdd739c1129a4ece532.tar.gz ports-84d32eb935bba99b74293bdd739c1129a4ece532.zip |
Remove the incorrect typedefs to fix build on tier-2.
PR: 232390
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Notes
Notes:
svn path=/head/; revision=484210
Diffstat (limited to 'biology/iolib')
-rw-r--r-- | biology/iolib/files/patch-io__lib_c__range__coder.h | 11 | ||||
-rw-r--r-- | biology/iolib/files/patch-io__lib_tokenise__name3.c | 18 |
2 files changed, 29 insertions, 0 deletions
diff --git a/biology/iolib/files/patch-io__lib_c__range__coder.h b/biology/iolib/files/patch-io__lib_c__range__coder.h new file mode 100644 index 000000000000..889cd0d3b75e --- /dev/null +++ b/biology/iolib/files/patch-io__lib_c__range__coder.h @@ -0,0 +1,11 @@ +--- io_lib/c_range_coder.h.orig 2018-10-18 16:44:55 UTC ++++ io_lib/c_range_coder.h +@@ -14,8 +14,6 @@ + #define DO(n) int _;for (_=0; _<n; _++) + #define TOP (1<<24) + +-typedef unsigned char uc; +- + typedef struct { + uint64_t low; + uint32_t range, code; diff --git a/biology/iolib/files/patch-io__lib_tokenise__name3.c b/biology/iolib/files/patch-io__lib_tokenise__name3.c new file mode 100644 index 000000000000..7b52aefe8718 --- /dev/null +++ b/biology/iolib/files/patch-io__lib_tokenise__name3.c @@ -0,0 +1,18 @@ +--- io_lib/tokenise_name3.c.orig 2018-10-18 16:21:37 UTC ++++ io_lib/tokenise_name3.c +@@ -457,13 +457,13 @@ static int encode_token_diff(name_context *ctx, uint32 + + //----------------------------------------------------------------------------- + // Trie implementation for tracking common name prefixes. +-typedef struct trie { ++struct trie { + char c; + int count; + //struct trie *next[128]; + struct trie *next, *sibling; + int n; // Nth line +-} trie_t; ++}; + + //static trie_t *t_head = NULL; + |