[packages/gpc] Fix applying patches.
arekm
arekm at pld-linux.org
Mon Jul 14 23:56:56 CEST 2025
commit a045984b7ec161d010c73a9218e038a32b51a1bd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Jul 14 23:56:40 2025 +0200
Fix applying patches.
gpc.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gpc.spec b/gpc.spec
index be5c53f..93866ea 100644
--- a/gpc.spec
+++ b/gpc.spec
@@ -43,12 +43,12 @@ takich jak p2c, jest to prawdziwy kompilator, a nie tylko konwerter.
%prep
%setup -q -n gcc-%{GCC_VERSION} -a 1
-%patch0 -p1
+%patch -P0 -p1
#patch -s -p0 < p/diffs/gcc-%{GCC_VERSION}.diff
patch -s -p0 < p/diffs/gcc-3.3.5.diff
mv p gcc
-%patch1 -p1
-%patch2 -p1
+%patch -P1 -p1
+%patch -P2 -p1
%build
cp -f /usr/share/automake/config.sub .
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gpc.git/commitdiff/a045984b7ec161d010c73a9218e038a32b51a1bd
More information about the pld-cvs-commit
mailing list