python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / libabigail / patches / xbps.patch
blob9019a69456d02e5db9a77190fb1eea8967feb9ba
1 Detect .xbps as tarballs.
3 --- src/abg-tools-utils.cc.orig
4 +++ src/abg-tools-utils.cc
5 @@ -690,7 +690,8 @@
6 || string_ends_with(file_path, ".tlz")
7 || string_ends_with(file_path, ".tar.Z")
8 || string_ends_with(file_path, ".taz")
9 - || string_ends_with(file_path, ".tz"))
10 + || string_ends_with(file_path, ".tz")
11 + || string_ends_with(file_path, ".xbps"))
12 return FILE_TYPE_TAR;
14 ifstream in(file_path.c_str(), ifstream::binary);