aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-06-20 15:27:01 +0800
committerkrion <krion@FreeBSD.org>2004-06-20 15:27:01 +0800
commit73ed4d55aa1040c09818372f26ddfd8e430100a2 (patch)
tree07a93d394c4ac52f19d19034f5719ae761402001
parentef4c62fd146cffce40e4b7ec0c65de98aff60052 (diff)
downloadfreebsd-ports-gnome-73ed4d55aa1040c09818372f26ddfd8e430100a2.tar.gz
freebsd-ports-gnome-73ed4d55aa1040c09818372f26ddfd8e430100a2.tar.zst
freebsd-ports-gnome-73ed4d55aa1040c09818372f26ddfd8e430100a2.zip
Add patch to make advdef utility working
PR: ports/68116 Submitted by: maintainer
-rw-r--r--archivers/advancecomp/Makefile1
-rw-r--r--archivers/advancecomp/files/patch-fflush12
2 files changed, 13 insertions, 0 deletions
diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile
index dcefd3e538e6..6c2e7f388d62 100644
--- a/archivers/advancecomp/Makefile
+++ b/archivers/advancecomp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= advancecomp
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= advancemame
diff --git a/archivers/advancecomp/files/patch-fflush b/archivers/advancecomp/files/patch-fflush
new file mode 100644
index 000000000000..f9cd6bf7b2b4
--- /dev/null
+++ b/archivers/advancecomp/files/patch-fflush
@@ -0,0 +1,12 @@
+--- lib/fz.c.orig Sun Mar 28 20:06:28 2004
++++ lib/fz.c Sat Jun 19 17:22:53 2004
+@@ -546,9 +546,6 @@
+ {
+ if (f->type == fz_file) {
+ struct stat st;
+- if (fflush(f->f) != 0) {
+- return -1;
+- }
+ if (fstat(fileno(f->f), &st) != 0) {
+ return -1;
+ }