From 317ca37dc6660dc10f927c6b42d0725aeebd712c Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 25 May 2022 22:56:42 +0200 Subject: [PATCH] Ports: Replace the manual `dosbox-staging` `config.sub` patch --- Ports/dosbox-staging/package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ports/dosbox-staging/package.sh b/Ports/dosbox-staging/package.sh index e0b424156e..d0b7701cb3 100755 --- a/Ports/dosbox-staging/package.sh +++ b/Ports/dosbox-staging/package.sh @@ -10,11 +10,11 @@ launcher_name=DOSBox launcher_category=Games launcher_command=/usr/local/bin/dosbox icon_file=contrib/icons/dosbox-staging.ico +use_fresh_config_sub=true export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2" export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2" -pre_configure() { +pre_patch() { run ./autogen.sh - run sed -i 's@irix\* \\@irix* | *serenity* \\@' config.sub }