aboutsummaryrefslogtreecommitdiffstats
path: root/misc/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 /misc/rpm
parenta9976e276afe436ded3264f17ae97bb58ad6a89e (diff)
downloadfreebsd-ports-graphics-b948c87a4dde1304d20e495d1a5775ef529d5410.tar.gz
freebsd-ports-graphics-b948c87a4dde1304d20e495d1a5775ef529d5410.tar.zst
freebsd-ports-graphics-b948c87a4dde1304d20e495d1a5775ef529d5410.zip
Add patch for rpm2cpio.
PR: ports/22257 Submitted by: Scott Renfro <scott@renfro.org>
Diffstat (limited to 'misc/rpm')
-rw-r--r--misc/rpm/Makefile2
-rw-r--r--misc/rpm/files/patch-bh11
2 files changed, 12 insertions, 1 deletions
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile
index 7ae189d8867..54372720bf8 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 00000000000..527ef4c3f99
--- /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);
+ }