1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/misc/rpm/files/patch-bh
Yukihiro Nakai 0a7bac63bc Add patch for rpm2cpio.
PR:		ports/22257
Submitted by:	Scott Renfro <scott@renfro.org>
2000-10-25 10:30:11 +00:00

12 lines
338 B
Plaintext

--- rpm2cpio.c.orig Wed Oct 25 19:26:40 2000
+++ rpm2cpio.c Wed Oct 25 19:26:59 2000
@@ -55,7 +55,7 @@
}
gzdi = Fdopen(fdi, rpmio_flags); /* XXX gzdi == fdi */
- if (gzdi == NULL || Ferror(gzdi)) {
+ if (gzdi == NULL) {
fprintf(stderr, _("cannot re-open payload: %s\n"), Fstrerror(gzdi));
exit(EXIT_FAILURE);
}