aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archivers/rpm/Makefile2
-rw-r--r--archivers/rpm/files/patch-bh11
-rw-r--r--misc/rpm/Makefile2
-rw-r--r--misc/rpm/files/patch-bh11
4 files changed, 24 insertions, 2 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);
+ }
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile
index 7ae189d8867c..54372720bf85 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 000000000000..527ef4c3f99d
--- /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);
+ }