Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2022 18:49:18 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: c698371b0910 - main - devel/sdl20: fix armv7-related check in SDL_atomic.h
Message-ID:  <Yz2nfjirSKR4fUqM@hades.panopticon>
In-Reply-To: <Yz2YQDJeP0AnGagA@KGPE-D16>
References:  <202209291355.28TDt7Ln090671@gitrepo.freebsd.org> <Yz2A1Sid9PCU%2B1%2BO@hades.panopticon> <Yz2YQDJeP0AnGagA@KGPE-D16>

next in thread | previous in thread | raw e-mail | index | archive | help
* Piotr Kubaj (pkubaj@anongoth.pl) wrote:

> Do you want me to put that patch in files now or, since it's
> already committed to ports and will be removed anyway with the next
> SDL update, it's ok as it is now?

It's ok as it is now. It doesn't apply to SDL 2.24.1 update I'm
working on now though, can it be safely removed with the update?

> On 22-10-05 16:04:21, Dmitry Marakasov wrote:
> > * Piotr Kubaj (pkubaj@FreeBSD.org) wrote:
> > 
> > > URL: https://cgit.FreeBSD.org/ports/commit/?id=c698371b0910e792db5690126bde955456fdccd2
> > > 
> > > commit c698371b0910e792db5690126bde955456fdccd2
> > > Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
> > > AuthorDate: 2022-09-29 13:51:25 +0000
> > > Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
> > > CommitDate: 2022-09-29 13:54:40 +0000
> > > 
> > >     devel/sdl20: fix armv7-related check in SDL_atomic.h
> > >     
> > >     Fixes build errors like:
> > >      In file included from /usr/ports/games/openrct2/work/OpenRCT2-0.4.1/src/openrct2-ui/CursorRepository.h:12: In file included from /usr/local/include/SDL2/SDL.h:35: /usr/local/include/SDL2/SDL_atomic.h:243:28: error: '__ARM_ARCH__' is not defined, evaluates to 0 [-Werror,-Wundef] #elif (defined(__arm__) && __ARM_ARCH__ >= 7) || defined(__aarch64__)
> > > ---
> > >  devel/sdl20/Makefile | 4 ++++
> > >  devel/sdl20/distinfo | 4 +++-
> > >  2 files changed, 7 insertions(+), 1 deletion(-)
> > > 
> > > diff --git a/devel/sdl20/Makefile b/devel/sdl20/Makefile
> > > index d84a9679030b..6e8c2c390ba6 100644
> > > --- a/devel/sdl20/Makefile
> > > +++ b/devel/sdl20/Makefile
> > > @@ -1,9 +1,13 @@
> > >  PORTNAME=	sdl2
> > >  DISTVERSION=	2.24.0
> > > +PORTREVISION=	1
> > >  CATEGORIES=	devel
> > >  MASTER_SITES=	https://www.libsdl.org/release/
> > >  DISTNAME=	SDL2-${PORTVERSION}
> > >  
> > > +PATCH_SITES=	https://github.com/libsdl-org/SDL/commit/
> > > +PATCHFILES=	a204ef50bbf20b77083c0a14124e673efc3a53c6.patch:-p1
> > 
> > I think I've already asked, but I'm not sure it was you. Please do not
> > ever introduce this kind of unmaintainable ugliness to my ports.
> > All patches should be put under files/.
> > 
> > >  MAINTAINER=	amdmi3@FreeBSD.org
> > >  COMMENT=	Cross-platform multimedia development API
> > >  WWW=		https://www.libsdl.org/
> > > diff --git a/devel/sdl20/distinfo b/devel/sdl20/distinfo
> > > index 3f836d60852a..c78d82f18d9c 100644
> > > --- a/devel/sdl20/distinfo
> > > +++ b/devel/sdl20/distinfo
> > > @@ -1,3 +1,5 @@
> > > -TIMESTAMP = 1661880729
> > > +TIMESTAMP = 1664457277
> > >  SHA256 (SDL2-2.24.0.tar.gz) = 91e4c34b1768f92d399b078e171448c6af18cafda743987ed2064a28954d6d97
> > >  SIZE (SDL2-2.24.0.tar.gz) = 7520541
> > > +SHA256 (a204ef50bbf20b77083c0a14124e673efc3a53c6.patch) = 2cc9607f42acc8b00ac058cbc5fcba3d7037db21db679533afd483824dd5b658
> > > +SIZE (a204ef50bbf20b77083c0a14124e673efc3a53c6.patch) = 1168

-- 
Dmitry Marakasov   .
amdmi3@amdmi3.ru  ..:  https://github.com/AMDmi3  https://amdmi3.ru/




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