Blame patches/libarchive-3.7.3_pre.local.patch

c2ab49
diff -ru libarchive-3.7.2.orig/configure libarchive-3.7.2/configure
c2ab49
--- libarchive-3.7.2.orig/configure	2023-09-12 00:05:34.000000000 +0200
c2ab49
+++ libarchive-3.7.2/configure	2024-02-26 13:44:22.491965148 +0100
a0460b
@@ -12906,6 +12906,15 @@
f6ff4c
   dynamic_linker='NetBSD ld.elf_so'
f6ff4c
   ;;
f6ff4c
 
f6ff4c
+midipix*)
f6ff4c
+  version_type=linux # correct to gnu/linux during the next big refactor
f6ff4c
+  need_lib_prefix=no
f6ff4c
+  need_version=no
f6ff4c
+  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
f6ff4c
+  soname_spec='$libname$release$shared_ext$major'
f6ff4c
+  shlibpath_var=LD_LIBRARY_PATH
f6ff4c
+  ;;
f6ff4c
+
f6ff4c
 netbsd*)
f6ff4c
   version_type=sunos
f6ff4c
   need_lib_prefix=no
c2ab49
@@ -16925,7 +16935,7 @@
c2ab49
   ac_status=$?
c2ab49
   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
c2ab49
   test $ac_status = 0; }; then
c2ab49
-  pkg_cv_LIBXML2_PC_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
c2ab49
+  pkg_cv_LIBXML2_PC_LIBS=`$PKG_CONFIG --libs-only-l "libxml-2.0" 2>/dev/null`
c2ab49
 		      test "x$?" != "x0" && pkg_failed=yes
c2ab49
 else
c2ab49
   pkg_failed=yes