Date: Mon, 5 Nov 2018 19:45:23 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484210 - head/biology/iolib/files Message-ID: <201811051945.wA5JjNhv086765@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Mon Nov 5 19:45:23 2018 New Revision: 484210 URL: https://svnweb.freebsd.org/changeset/ports/484210 Log: Remove the incorrect typedefs to fix build on tier-2. PR: 232390 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Added: head/biology/iolib/files/patch-io__lib_c__range__coder.h (contents, props changed) head/biology/iolib/files/patch-io__lib_tokenise__name3.c (contents, props changed) Added: head/biology/iolib/files/patch-io__lib_c__range__coder.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/biology/iolib/files/patch-io__lib_c__range__coder.h Mon Nov 5 19:45:23 2018 (r484210) @@ -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; Added: head/biology/iolib/files/patch-io__lib_tokenise__name3.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/biology/iolib/files/patch-io__lib_tokenise__name3.c Mon Nov 5 19:45:23 2018 (r484210) @@ -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; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811051945.wA5JjNhv086765>