[packages/nifticlib] Fix applying patches.

arekm arekm at pld-linux.org
Tue Jul 15 01:35:10 CEST 2025


commit 1ce7e09cb95f0dabfacc628bceaf664215d52daa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jul 15 01:34:54 2025 +0200

    Fix applying patches.

 nifticlib.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nifticlib.spec b/nifticlib.spec
index 571e3b5..ca5ef35 100644
--- a/nifticlib.spec
+++ b/nifticlib.spec
@@ -48,7 +48,7 @@ Pliki nagłówkowe bibliotek C niftilib.
 
 %prep
 %setup -q -n nifti_clib-%{version}
-%patch1 -p1
+%patch -P1 -p1
 
 # version is set from git tag, but no git metadata in archive
 %{__sed} -i -e 's/if( NOT GIT_REPO_VERSION )/if( TRUE )/; s/set(GIT_REPO_VERSION "0\.0\.0\.0")/set(GIT_REPO_VERSION "%{version}")/' CMakeLists.txt
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nifticlib.git/commitdiff/1ce7e09cb95f0dabfacc628bceaf664215d52daa



More information about the pld-cvs-commit mailing list