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