ports/68116: maint. update: advancecomp
Radim Kolar
hsn at netmag.cz
Sat Jun 19 15:40:52 UTC 2004
>Number: 68116
>Category: ports
>Synopsis: maint. update: advancecomp
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 19 15:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Radim Kolar
>Release: FreeBSD 5.2.1-RELEASE-p6 i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD sanatana.dharma 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #7: Mon May 10 17:15:51 CEST 2004 root at asura.bsd:/usr/src/sys/i386/compile/UP i386
>Description:
This patch makes advdef utility working. FreeBSD is only OS which returns error when fflush()
is used on readonly files. See kern/65402.
>How-To-Repeat:
>Fix:
diff -Naur /usr/ports/archivers/advancecomp/Makefile advancecomp/Makefile
--- /usr/ports/archivers/advancecomp/Makefile Fri May 14 16:37:17 2004
+++ advancecomp/Makefile Sat Jun 19 17:25:16 2004
@@ -7,6 +7,7 @@
PORTNAME= advancecomp
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= advancemame
diff -Naur /usr/ports/archivers/advancecomp/files/patch-fflush advancecomp/files/patch-fflush
--- /usr/ports/archivers/advancecomp/files/patch-fflush Thu Jan 1 01:00:00 1970
+++ advancecomp/files/patch-fflush Sat Jun 19 17:24:00 2004
@@ -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;
+ }
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list