[packages/socks5] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 03:03:09 CEST 2025


commit 87d6ce6d9d26f436e7a7019c2393f0fc0fafac18
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 03:02:54 2025 +0200

    Fix applying patches.

 socks5.spec | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/socks5.spec b/socks5.spec
index ad651ea..db51b5a 100644
--- a/socks5.spec
+++ b/socks5.spec
@@ -95,20 +95,20 @@ Biblioteki statyczne NWSL (poprzednio CSTC) wersji 5.0 SOCKS.
 %prep
 %setup -q -n %{name}-v%{version}
 cd include
-%patch0 -p0
+%patch -P0 -p0
 cd ..
 # trans patch is for v1.0r10
 %{__perl} -pi -e 's/Socks5 v1\.0r11/Socks5 v1.0r10/' include/defs.h
 %{__perl} -pi -e 's/ranges from 1 to 255/ranges from 1 to 254/' lib/hostname.c
-%patch1 -p0
+%patch -P1 -p0
 %{__perl} -pi -e 's/Socks5 v1.0r10/Socks5 v1.0r11/' include/defs.h
 %{__perl} -pi -e 's/ranges from 1 to 254/ranges from 1 to 255/' lib/hostname.c
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
+%patch -P6 -p1
+%patch -P7 -p1
 
 %build
 # aclocal.m4 is local only, don't use aclocal
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/socks5.git/commitdiff/87d6ce6d9d26f436e7a7019c2393f0fc0fafac18



More information about the pld-cvs-commit mailing list