void-packages/srcpkgs/libabigail/patches/xbps.patch

15 lines
467 B
Diff

Detect .xbps as tarballs.
--- src/abg-tools-utils.cc.orig
+++ src/abg-tools-utils.cc
@@ -690,7 +690,8 @@
|| string_ends_with(file_path, ".tlz")
|| string_ends_with(file_path, ".tar.Z")
|| string_ends_with(file_path, ".taz")
- || string_ends_with(file_path, ".tz"))
+ || string_ends_with(file_path, ".tz")
+ || string_ends_with(file_path, ".xbps"))
return FILE_TYPE_TAR;
ifstream in(file_path.c_str(), ifstream::binary);