Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2020 16:17:08 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        Hans Petter Selasky <hselasky@freebsd.org>, ports-committers <ports-committers@freebsd.org>, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r531911 - in head/multimedia: libv4l libv4l/files v4l-utils v4l_compat
Message-ID:  <20200417141708.cro6emqruriiuu3x@ivaldir.net>
In-Reply-To: <CACNAnaF-EHU1tYW=UBW-w--iHLAmUis6rbEGbY8Re0T%2BOmhhog@mail.gmail.com>
References:  <202004170834.03H8YoK4060398@repo.freebsd.org> <CACNAnaF-EHU1tYW=UBW-w--iHLAmUis6rbEGbY8Re0T%2BOmhhog@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--hq2wfjsadszu4ztb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 17, 2020 at 09:15:30AM -0500, Kyle Evans wrote:
> On Fri, Apr 17, 2020 at 3:34 AM Hans Petter Selasky
> <hselasky@freebsd.org> wrote:
> >
> > Author: hselasky
> > Date: Fri Apr 17 08:34:50 2020
> > New Revision: 531911
> > URL: https://svnweb.freebsd.org/changeset/ports/531911
> >
> > Log:
> >   Upgrade v4l_compat, libv4l and v4l-utils to v1.18.0.
> >
> >   The most important change is that up-to-date V4L header files are now
> >   sourced from the webcamd distribution tarball.
> >
> >   Refer to the ChangeLog file in the v4l-utils tarball for a comprehens=
ive
> >   list of changes.
> >
> >   PR:           245501
> >   Approved by:  pi (implicit)
> >
> > [... snip ...]
> > +# Remove old FreeBSD include files (to be removed upstream)
> > +       @${RM} -r ${WRKDIR}/v4l-utils-${PORTVERSION}/contrib/freebsd/in=
clude/*
> > +# Apply webcamd patches first
> > +       @(cd ${WRKDIR}/webcamd-${WEBCAMDVERSION}/patches && ${SH} ./do_=
patch.sh)
> > +# Patch Makefiles to use GNU-sed
> > +       @${FIND} ${WRKDIR}/v4l-utils-${PORTVERSION} -type f \( -iname "=
Makefile*" \) | \
> >                 ${XARGS} -n 10 ${REINPLACE_CMD} \
> > -               -e 's|linux/types.h|sys/types.h|g; s|__user||g; \
> > -               s|__u8|uint8_t|g; s|__s8|int8_t|g; \
> > -               s|__u16|uint16_t|g; s|__s16|int16_t|g; \
> > -               s|__u32|uint32_t|g; s|__s32|int32_t|g; \
> > -               s|__u64|uint64_t|g; s|__s64|int64_t|g'
> > -.if ${PORTNAME} =3D=3D v4l_compat
> > -.for patch in ${HEADER_PATCHES}
> > -       @cd ${WRKDIR}/linux && ${PATCH} -p2 < ${FILESDIR}/${patch}
> > -.endfor
> > -.endif
> > +                       -e 's|^\([[:space:]]*\)sed |\1${LOCALBASE}/bin/=
gsed |'
>=20
> Hi,
>=20
> Based on the pattern you used here, I suspect this could instead be a
> BINARY_ALIAS instead to obviate the need to do/maintain these
> replacements.
>=20
> BINARY_ALIAS=3D sed=3D${LOCALBASE}/bin/gsed

Or its simpler version: BINARY_ALIAS sed=3Dgsed :D


Best regards,
Bapt

--hq2wfjsadszu4ztb
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl6Zul8ACgkQY4mL3PG3
PlqnhQ/+JW8oi3Irs7qIKWah11Ah//mUxFYFo1gzsaJhCu6ulMDNhSZznsZ+8dw+
dYNsw7ZTBvVPxogNNv/jdD9Nexq5z6WI5+ZWROljLSypA7mM6Uh/Ee9bHfCozJFB
fPmt8T11IWYC6xWpn1HxQ2mxrcHyrnFShWpa5aSQQ6vEzU7cg6edTeiOuf+aazym
bUqxRorqCweoIz6PDkyoVVFrjDih30c6a/+2Nm7cq6/p9w4Mui6hjv8GGrfwPUIW
CM2m8Opu9wiX01DVAO4cBZ4hJqi835zTSWdJqTyPhrnOSkGIpzj6MkHitYoq5gXB
xZdOP1ODBKYhJF5JhOR102Qd55EvDOC2/eure+XHwK4ZUtj2B4FFni0FR5cY4n5K
Zh6XMWVMnd9UUPmFBDoia0/V+QzXSAGHaQBUrcRv34nH/CM79zBJvA8dyymAns1/
SYZ/Ls5Ujo3aQT/tusm48E4LhqNzy0ssa6gaW54ZoFc6kZc56nS8QmV5cbM6sYDR
PZ116FZhTh210vmUYw/U/XC46cVWFS2Fl0ChErLQYC5jmVeWwseY0l3M6JfYbzzb
uRQJqf1v1u6vcdOaH8gA0EcvPvev5/5jqqTP1tSRtze5JjULtOzyjbCRfiyPzbzC
AJXn6T2nqe4HBfREd6FViuQFOFcziOsUbfz5jwuFb8ZvSHHiRMU=
=DKVc
-----END PGP SIGNATURE-----

--hq2wfjsadszu4ztb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200417141708.cro6emqruriiuu3x>