Add patch for rpm2cpio.
PR: ports/22257 Submitted by: Scott Renfro <scott@renfro.org>
This commit is contained in:
parent
ebcb327ef6
commit
0a7bac63bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34220
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= rpm
|
||||
PORTVERSION= 3.0.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
|
||||
|
||||
|
11
archivers/rpm/files/patch-bh
Normal file
11
archivers/rpm/files/patch-bh
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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);
|
||||
}
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= rpm
|
||||
PORTVERSION= 3.0.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
|
||||
|
||||
|
11
misc/rpm/files/patch-bh
Normal file
11
misc/rpm/files/patch-bh
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user