aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rpm
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>2000-10-25 18:30:11 +0800
committernakai <nakai@FreeBSD.org>2000-10-25 18:30:11 +0800
commitb948c87a4dde1304d20e495d1a5775ef529d5410 (patch)
tree5f296ba7c15e6b5de46751ebd31c08cf015c4e9e /archivers/rpm
parenta9976e276afe436ded3264f17ae97bb58ad6a89e (diff)
downloadfreebsd-ports-gnome-b948c87a4dde1304d20e495d1a5775ef529d5410.tar.gz
freebsd-ports-gnome-b948c87a4dde1304d20e495d1a5775ef529d5410.tar.zst
freebsd-ports-gnome-b948c87a4dde1304d20e495d1a5775ef529d5410.zip
Add patch for rpm2cpio.
PR: ports/22257 Submitted by: Scott Renfro <scott@renfro.org>
Diffstat (limited to 'archivers/rpm')
-rw-r--r--archivers/rpm/Makefile2
-rw-r--r--archivers/rpm/files/patch-bh11
2 files changed, 12 insertions, 1 deletions
diff --git a/archivers/rpm/Makefile b/archivers/rpm/Makefile
index 7ae189d8867c..54372720bf85 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 000000000000..527ef4c3f99d
--- /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);
+ }