[packages/BNFC] Fix applying patches.

arekm arekm at pld-linux.org
Mon Jul 14 22:50:03 CEST 2025


commit 837ddfdb7c592f82795596452aedab6713c2883a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 22:49:48 2025 +0200

    Fix applying patches.

 BNFC.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/BNFC.spec b/BNFC.spec
index ef5660b..fab30e6 100644
--- a/BNFC.spec
+++ b/BNFC.spec
@@ -34,8 +34,8 @@ potrafi także generować kod w Javie, C++ i C.
 # undos the source
 find -type f -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
 
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 %build
 runhaskell Setup.lhs configure -v2 --enable-library-profiling \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/BNFC.git/commitdiff/837ddfdb7c592f82795596452aedab6713c2883a



More information about the pld-cvs-commit mailing list