Date: Mon, 20 Feb 2017 14:03:42 +0100 From: Gert Doering Message-ID: <20170220130341.GB93896@...1296...> References: <20170125205302.23069-1-davids@...515...> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="etg/Ry6vb8quy2uR" Content-Disposition: inline In-Reply-To: <20170125205302.23069-1-davids@...515...> Subject: Re: [Openvpn-devel] [PATCH] dev-tools: Simple tool wihch automates rebasing LZ4 compat library List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Sommerseth Cc: openvpn-devel@lists.sourceforge.net --etg/Ry6vb8quy2uR Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, On Wed, Jan 25, 2017 at 09:53:02PM +0100, David Sommerseth wrote: > This tool depends on a cloned upstream LZ4 git repository and a > checked out release tag. Then run the script like this: >=20 > $ ./dev-tools/lz4-rebaser.sh /path/to/lz4.git >=20 > To see the result before committing, use: git diff --cached All willing to give this an ACK, alas, it's penguin-tainted :-) - read, won't work with a FreeBSD sed. > +#ifdef NEED_COMPAT_LZ4 > +EOF > + sed '/"lz4\.h"/s/\(#include "\)lz4\.h\("\+\)/\1compat-lz4.h\2/' "$LZ= 4_C" > +cat <