aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2024-04-15 16:22:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2024-04-15 16:58:53 +0000
commit2fb0fe4b746ad8c19574907f815dca14675fb7f4 (patch)
tree62bf5d37339207dbc5465a9165795424e943578f
parent218f4cff478575e8ae77193d39c871426f2438af (diff)
downloadports-2fb0fe4b746ad8c19574907f815dca14675fb7f4.tar.gz
ports-2fb0fe4b746ad8c19574907f815dca14675fb7f4.zip
devel/sdl20: drop no longer needed _m_prefetch patch
Required support aws merged with LLVM in 2015: https://github.com/llvm/llvm-project/issues/24022 The port builds fine, including with CPUTYPE=athlon64-sse3 PR: 194861, 278353 [1] Submitted by: diizzy [1]
-rw-r--r--devel/sdl20/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/devel/sdl20/Makefile b/devel/sdl20/Makefile
index 32a5956c3f0f..7c6fa6624f77 100644
--- a/devel/sdl20/Makefile
+++ b/devel/sdl20/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sdl2
DISTVERSION= 2.30.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://www.libsdl.org/release/
DISTNAME= SDL2-${PORTVERSION}
@@ -188,9 +189,6 @@ CONFIGURE_ARGS+= ac_cv_lib_iconv_iconv_open=yes ac_cv_func_iconv=yes
post-patch:
@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/g' ${WRKSRC}/configure
-# Clang does not provide _m_prefetch
- @${REINPLACE_CMD} 's/_m_prefetch/__builtin_prefetch/' \
- ${WRKSRC}/configure ${WRKSRC}/src/video/SDL_blit_A.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSDL2.so