diff options
author | nakai <nakai@FreeBSD.org> | 2000-10-25 10:30:11 +0000 |
---|---|---|
committer | nakai <nakai@FreeBSD.org> | 2000-10-25 10:30:11 +0000 |
commit | b948c87a4dde1304d20e495d1a5775ef529d5410 (patch) | |
tree | 5f296ba7c15e6b5de46751ebd31c08cf015c4e9e | |
parent | a9976e276afe436ded3264f17ae97bb58ad6a89e (diff) | |
download | FreeBSD-ports-b948c87a4dde1304d20e495d1a5775ef529d5410.zip FreeBSD-ports-b948c87a4dde1304d20e495d1a5775ef529d5410.tar.gz |
Add patch for rpm2cpio.
PR: ports/22257
Submitted by: Scott Renfro <scott@renfro.org>
-rw-r--r-- | archivers/rpm/Makefile | 2 | ||||
-rw-r--r-- | archivers/rpm/files/patch-bh | 11 | ||||
-rw-r--r-- | misc/rpm/Makefile | 2 | ||||
-rw-r--r-- | misc/rpm/files/patch-bh | 11 |
4 files changed, 24 insertions, 2 deletions
diff --git a/archivers/rpm/Makefile b/archivers/rpm/Makefile index 7ae189d..5437272 100644 --- a/archivers/rpm/Makefile +++ b/archivers/rpm/Makefile @@ -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/ diff --git a/archivers/rpm/files/patch-bh b/archivers/rpm/files/patch-bh new file mode 100644 index 0000000..527ef4c --- /dev/null +++ b/archivers/rpm/files/patch-bh @@ -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); + } diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile index 7ae189d..5437272 100644 --- a/misc/rpm/Makefile +++ b/misc/rpm/Makefile @@ -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/ diff --git a/misc/rpm/files/patch-bh b/misc/rpm/files/patch-bh new file mode 100644 index 0000000..527ef4c --- /dev/null +++ b/misc/rpm/files/patch-bh @@ -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); + } |