Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2025-03-24 16:54:59 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2025-03-24 16:54:59 +0100
commit3563d626e85e1c6d2d0cd7c4479205c8c9c60b35 (patch)
tree4aee8d1bdb78f6d2d75d81b4e7a8048f3c486c9c
parent5fe8c80902e9df1151738c4fd1bf67a5e9f6648b (diff)
core/libarchive: normal build with XAR/libxml2
-rw-r--r--core/libarchive/PKGBUILD12
-rw-r--r--core/libarchive/disabled/PKGBUILD-without-xml217
2 files changed, 17 insertions, 12 deletions
diff --git a/core/libarchive/PKGBUILD b/core/libarchive/PKGBUILD
index 86ca2216..e09a72bf 100644
--- a/core/libarchive/PKGBUILD
+++ b/core/libarchive/PKGBUILD
@@ -3,15 +3,3 @@ if [ "${CARCH}" = "i486" ]; then
sha256sums=(SKIP)
fi
-# ABI differences in libxml2, disable XAR
-eval "$(
- declare -f build | \
- sed '
- s/configure/configure --without-xml2 /
- '
-)"
-
-# temporary, we still build a version with libb2 though upstream now
-# has no dependency on libb2 anymore?
-depends+=(libb2)
-
diff --git a/core/libarchive/disabled/PKGBUILD-without-xml2 b/core/libarchive/disabled/PKGBUILD-without-xml2
new file mode 100644
index 00000000..86ca2216
--- /dev/null
+++ b/core/libarchive/disabled/PKGBUILD-without-xml2
@@ -0,0 +1,17 @@
+# i486, shasumming git archives is broken?
+if [ "${CARCH}" = "i486" ]; then
+ sha256sums=(SKIP)
+fi
+
+# ABI differences in libxml2, disable XAR
+eval "$(
+ declare -f build | \
+ sed '
+ s/configure/configure --without-xml2 /
+ '
+)"
+
+# temporary, we still build a version with libb2 though upstream now
+# has no dependency on libb2 anymore?
+depends+=(libb2)
+