ports/53665: graphics/showimg 0.8 beta 2 broken on 4.8-STABLE
Bartosz Fabianowski
bartosz at fabianowski.de
Thu Jun 26 16:20:10 UTC 2003
The following reply was made to PR ports/53665; it has been noted by GNATS.
From: Bartosz Fabianowski <bartosz at fabianowski.de>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/53665: graphics/showimg 0.8 beta 2 broken on 4.8-STABLE
Date: Fri, 27 Jun 2003 04:12:35 +1200
I have fixed the problems with showimg on 4-STABLE by modifying two
source files. However, I have never written a patch, so I hope somebody
else could do it :(. What needs to be done is the following:
In work/showimg-0.8-20030305/showimg/batchrenamer.h, the order of these
two lines needs to be exchanged (this is required on FreeBSD according
to the utime(3) man page):
#include <utime.h>
#include <time.h>
In work/showimg-0.8-20030305/showimg/qtiffio.cpp, the following needs to
be done:
Before this line:
#include <sys/mman.h>
This must be added:
#include <sys/types.h>
Again, this is required on FreeBSD 4-STABLE according to the mmap(2) man
page. It is not required on 5-CURRENT any more, I guess that is why it
was never noticed when the port was commited (see also PR misc/21644).
With these two changes, showimg compiles and runs on 4-STABLE.
- Bartosz
More information about the freebsd-ports-bugs
mailing list