openbsd-ports/x11/gnome/file-roller/patches/patch-src_fr-command-rpm_c

22 lines
703 B
Plaintext

$OpenBSD: patch-src_fr-command-rpm_c,v 1.5 2011/09/12 07:26:20 ajacoutot Exp $
--- src/fr-command-rpm.c.orig Mon May 23 19:35:02 2011
+++ src/fr-command-rpm.c Tue Jun 21 16:26:52 2011
@@ -241,7 +241,7 @@ fr_command_rpm_get_capabilities (FrCommand *comm,
FrCommandCap capabilities;
capabilities = FR_COMMAND_CAN_ARCHIVE_MANY_FILES;
- if (is_program_available ("cpio", check_command))
+ if (is_program_available ("gcpio", check_command))
capabilities |= FR_COMMAND_CAN_READ;
return capabilities;
@@ -252,7 +252,7 @@ static const char *
fr_command_rpm_get_packages (FrCommand *comm,
const char *mime_type)
{
- return PACKAGES ("cpio,rpm");
+ return PACKAGES ("gcpio,rpm");
}