mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

commit ae397ecc3066beedc7b2ded89c80ca6e336282c3
parent 61c27e6ac39ec2f04efec3606dd3db2cce34aa8e
Author: ccx <ccx@te2000.cz>
Date:   Thu, 29 Feb 2024 18:02:28 +0000

add missing patch to apk-tools

Diffstat:
Afiles/apk-tools.patch | 34++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+), 0 deletions(-)

diff --git a/files/apk-tools.patch b/files/apk-tools.patch @@ -0,0 +1,34 @@ +diff --git a/Makefile b/Makefile +index 4156ac6..4fd260f 100644 +--- a/Makefile ++++ b/Makefile +@@ -51,3 +51,17 @@ tag: check + git tag -s v$(VERSION) -m "apk-tools-$(VERSION)" + + 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 ++ ++install-static: only-static ++ $(INSTALLDIR) $(DESTDIR)$(SBINDIR) ++ $(INSTALL) src/apk.static $(DESTDIR)$(SBINDIR) ++ $(INSTALLDIR) $(DESTDIR)$(LIBDIR) ++ $(INSTALL) src/libapk.a $(DESTDIR)$(LIBDIR) ++ $(INSTALLDIR) $(DESTDIR)$(INCLUDEDIR)/apk ++ $(INSTALL) -m644 src/*.h $(DESTDIR)$(INCLUDEDIR)/apk ++ $(INSTALLDIR) $(DESTDIR)$(PKGCONFIGDIR) ++ $(INSTALL) -m644 src/apk.pc $(DESTDIR)$(PKGCONFIGDIR) +diff --git a/src/adb_walk_adb.c b/src/adb_walk_adb.c +index e1a686d..09581b1 100644 +--- a/src/adb_walk_adb.c ++++ b/src/adb_walk_adb.c +@@ -2,6 +2,7 @@ + + #include <stdio.h> + #include <unistd.h> ++#include <inttypes.h> + #include "apk_adb.h" + #include "apk_applet.h" + #include "apk_print.h"