[packages/java-sun] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 00:22:57 CEST 2025
commit 0f40ee215e60d4b80cade1c639a196e1138f4720
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 00:22:41 2025 +0200
Fix applying patches.
java-sun.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/java-sun.spec b/java-sun.spec
index 8b0b8f6..1945844 100644
--- a/java-sun.spec
+++ b/java-sun.spec
@@ -384,7 +384,7 @@ cd ..
cd -
# patch only copy of the desktop file, leave original unchanged
cp jre/plugin/desktop/sun_java.desktop .
-%patch0 -p1
+%patch -P0 -p1
# unpack packed jar files -- in %%prep as it is done "in place"
for pack in $(find . -name '*.pack'); do
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java-sun.git/commitdiff/0f40ee215e60d4b80cade1c639a196e1138f4720
More information about the pld-cvs-commit
mailing list