Small changes needed to compile on MacOS/Linux using libarchive, libcurl and openssl from pkg-config .
modified .gitignore
@@ -14,6 +14,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified auto.def
@@ -336,6 +336,9 @@ if {[pkg-config-init 0]} {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -346,12 +349,18 @@ if {[pkg-config-init 0]} {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/Makefile.autosetup
@@ -129,7 +129,9 @@ LOCAL_LDFLAGS+= -L$(top_builddir)/external/libmachista -lmachista_pic \
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_macho.c
@@ -107,7 +107,7 @@ analyse_macho(struct pkg *pkg, const char *fpath,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -140,6 +140,7 @@ analyse_macho(struct pkg *pkg, const char *fpath,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -331,7 +332,7 @@ pkg_arch_to_legacy(const char *arch, char *dest, size_t sz)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -365,7 +365,11 @@ pkg_create_repo_thread(void *arg)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -397,7 +401,7 @@ cleanup:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/Makefile.autosetup
@@ -50,7 +50,7 @@ LIBPKGFLAT= -L$(top_builddir)/libpkg -lpkg_flat
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -78,12 +78,17 @@ OTHER_LIBS+= -lmd
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified tests/Makefile.autosetup
@@ -119,7 +119,8 @@ LIBS= \
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -136,6 +137,15 @@ OTHER_LIBS+= -ldl
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|