From bf145ed3b0ec30ea144f60a175f2a82d61b05fb4 Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:47 +0200 Subject: [PATCH] Eliminate use of obsolete %patchN syntax (#2283636) --- hugs98.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugs98.spec b/hugs98.spec index 2ec9051..eb6d22e 100644 --- a/hugs98.spec +++ b/hugs98.spec @@ -102,8 +102,8 @@ Demo files for Hugs98. %prep %setup -q -n %{name}-%{hugs_ver} # add undefined struct -%patch0 -p1 -b .gnu -%patch1 -p1 -b .config +%patch -P0 -p1 -b .gnu +%patch -P1 -p1 -b .config %patch -P 2 -p1 # use inline keyword sed -i 's|extern inline|inline|' packages/base/include/HsBase.h packages/network/include/HsNet.h packages/unix/include/HsUnix.h hsc2hs/Main.hs