Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 09:20:09 -0700 (PDT)
From:      Bartosz Fabianowski <bartosz@fabianowski.de>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/53665: graphics/showimg 0.8 beta 2 broken on 4.8-STABLE
Message-ID:  <200306261620.h5QGK9wr024437@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/53665; it has been noted by GNATS.

From: Bartosz Fabianowski <bartosz@fabianowski.de>
To: freebsd-gnats-submit@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306261620.h5QGK9wr024437>