commit cc382955127c60fcd5287c2c55c9664d50b4b4d7
parent 1976849684e6c71683f68cf36d77aaeed0e44171
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Wed, 19 Mar 2025 00:59:00 +0000
Update apk-tools patch
Diffstat:
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/files/apk-tools.patch b/files/apk-tools.patch
@@ -1,12 +1,11 @@
diff --git a/Makefile b/Makefile
-index 4156ac6..4fd260f 100644
+index 2ac7da3..09b1cad 100644
--- a/Makefile
+++ b/Makefile
-@@ -51,3 +51,17 @@ tag: check
- git tag -s v$(VERSION) -m "apk-tools-$(VERSION)"
+@@ -56,6 +56,20 @@ check test: FORCE
+ static:
+ $(Q)$(MAKE) STATIC=y
- src/: libfetch/
-+
+only-static:
+ $(Q)$(MAKE) -f Make.rules build=libfetch libfetch/libfetch.a
+ $(Q)$(MAKE) -f Make.rules build=src src/libapk.a src/apk.static src/apk.pc
@@ -20,3 +19,7 @@ index 4156ac6..4fd260f 100644
+ $(INSTALL) -m644 src/*.h $(DESTDIR)$(INCLUDEDIR)/apk
+ $(INSTALLDIR) $(DESTDIR)$(PKGCONFIGDIR)
+ $(INSTALL) -m644 src/apk.pc $(DESTDIR)$(PKGCONFIGDIR)
++
+ tag: check
+ TAG_VERSION=$$(cat VERSION); \
+ git commit . -m "apk-tools-$${TAG_VERSION}"; \