1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- update to 4.0.0beta7

This commit is contained in:
Dirk Meyer 2011-06-11 14:38:59 +00:00
parent 0797e5d370
commit d1c3c90043
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275378
5 changed files with 6 additions and 33 deletions

View File

@ -9,7 +9,8 @@
PORTNAME= tiff
PORTVERSION= 4.0.0
DISTVERSION= 4.0.0beta6
PORTREVISION= 1
DISTVERSION= 4.0.0beta7
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
http://dl1.maptools.org/dl/libtiff/
@ -17,6 +18,7 @@ MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Tools and library routines for working with TIFF images
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
jbig.1:${PORTSDIR}/graphics/jbigkit

View File

@ -1,3 +1,2 @@
MD5 (tiff-4.0.0beta6.tar.gz) = 6a1e51841a5a5062cc381e34a48122a0
SHA256 (tiff-4.0.0beta6.tar.gz) = de016175742bcdd0cd6f326dd2e7bbc7154437d7bb09976ad4789016065061e6
SIZE (tiff-4.0.0beta6.tar.gz) = 1968829
SHA256 (tiff-4.0.0beta7.tar.gz) = 7b622db9e62a14464b0ae27e5eed4e2e893d7aab889c778e56ac28df069c3ded
SIZE (tiff-4.0.0beta7.tar.gz) = 2004539

View File

@ -1,18 +0,0 @@
--- tools/fax2ps.c.orig Sat Mar 5 10:06:08 2005
+++ tools/fax2ps.c Sun Apr 17 23:20:43 2005
@@ -373,11 +373,12 @@
int n;
FILE* fd;
char buf[16*1024];
+ char temp[1024];
- fd = tmpfile();
+ strcpy(temp, "/tmp/fax2psXXXXXX");
+ fd = fdopen(mkstemp(temp), "w+");
if (fd == NULL) {
- fprintf(stderr, "Could not create temporary file, exiting.\n");
- fclose(fd);
+ fprintf(stderr, "Could not create temp file \"%s\"\n", temp);
exit(-2);
}
while ((n = read(fileno(stdin), buf, sizeof (buf))) > 0)

View File

@ -1,11 +0,0 @@
--- tools/tiff2pdf.c.orig 2009-01-01 01:10:43.000000000 +0100
+++ tools/tiff2pdf.c 2009-09-14 12:13:39.000000000 +0200
@@ -3726,7 +3726,7 @@
written += t2pWriteFile(output, (tdata_t) "(", 1);
for (i=0; i<len; i++) {
if((pdfstr[i]&0x80) || (pdfstr[i]==127) || (pdfstr[i]<32)){
- sprintf(buffer, "\\%.3hho", pdfstr[i]);
+ snprintf(buffer, sizeof(buffer), "\\%.3hho", pdfstr[i]);
buffer[sizeof(buffer) - 1] = '\0';
written += t2pWriteFile(output, (tdata_t) buffer, 4);
} else {

View File

@ -35,6 +35,7 @@ lib/libtiffxx.a
lib/libtiffxx.la
lib/libtiffxx.so
lib/libtiffxx.so.4
lib/pkgconfig/libtiff-4.pc
%%PORTDOCS%%%%DOCSDIR%%/TIFFTechNote2.html
%%PORTDOCS%%%%DOCSDIR%%/addingtags.html
%%PORTDOCS%%%%DOCSDIR%%/bugs.html