openbsd-ports/x11/gnome/file-roller/patches/patch-src_fr-command-rpm_c
2010-04-22 11:45:14 +00:00

22 lines
700 B
Plaintext

$OpenBSD: patch-src_fr-command-rpm_c,v 1.3 2010/04/22 11:45:14 jasper Exp $
--- src/fr-command-rpm.c.orig Thu Apr 22 13:31:32 2010
+++ src/fr-command-rpm.c Thu Apr 22 13:31:45 2010
@@ -233,7 +233,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;
@@ -244,7 +244,7 @@ static const char *
fr_command_rpm_get_packages (FrCommand *comm,
const char *mime_type)
{
- return PACKAGES ("cpio,rpm");
+ return PACKAGES ("gcpio,rpm");
}