diff options
author | drochner <drochner> | 2010-03-11 12:46:42 +0000 |
---|---|---|
committer | drochner <drochner> | 2010-03-11 12:46:42 +0000 |
commit | f2f4df06e9bac674be2953f4f0f356d88c422b50 (patch) | |
tree | 8a98e5b2ffd3807c14571fb2b0411bc6bce6a217 /print | |
parent | a5bc76a5d575509de3de2092c2361570325ff45b (diff) | |
download | pkgsrc-f2f4df06e9bac674be2953f4f0f356d88c422b50.tar.gz |
fix a format string mismatch with 64-bit time_t which made the program
crash with PDF files (on NetBSD-current), bump PKGREVISION
Diffstat (limited to 'print')
-rw-r--r-- | print/gv/Makefile | 4 | ||||
-rw-r--r-- | print/gv/distinfo | 4 | ||||
-rw-r--r-- | print/gv/patches/patch-ad | 13 |
3 files changed, 15 insertions, 6 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile index 6317505de20..dfb3ded4f7a 100644 --- a/print/gv/Makefile +++ b/print/gv/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.69 2010/01/16 23:37:49 heinz Exp $ +# $NetBSD: Makefile,v 1.70 2010/03/11 12:46:42 drochner Exp $ DISTNAME= gv-3.6.3 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GNU:=gv/} diff --git a/print/gv/distinfo b/print/gv/distinfo index ccba5e41d79..ff662d499ab 100644 --- a/print/gv/distinfo +++ b/print/gv/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.16 2007/07/03 20:01:43 wiz Exp $ +$NetBSD: distinfo,v 1.17 2010/03/11 12:46:42 drochner Exp $ SHA1 (gv-3.6.3.tar.gz) = 1eb09482a1b77f6db957840ba691b42947aeb364 RMD160 (gv-3.6.3.tar.gz) = 3c0fb1c252b305f25522abc8528dfe9489029ad3 Size (gv-3.6.3.tar.gz) = 480724 bytes SHA1 (patch-aa) = 4a13819735017694fad8a44e3b50a90b763c4a46 SHA1 (patch-ab) = 63d103a821074ab36a6cf946bbf1252d4d356987 -SHA1 (patch-ad) = b2f3060594d1ca1c53e74b3247ab7dba6e4a3326 +SHA1 (patch-ad) = 8803493dd643554067677edec5c4efccfbfc2606 SHA1 (patch-ae) = 2d1057004a1bd1b29af491c3163d83dd31bba7c2 SHA1 (patch-af) = 618164139ea6dcc81996dff659d01ede6245ff43 diff --git a/print/gv/patches/patch-ad b/print/gv/patches/patch-ad index 05a61d45955..f017d380bfd 100644 --- a/print/gv/patches/patch-ad +++ b/print/gv/patches/patch-ad @@ -1,7 +1,16 @@ -$NetBSD: patch-ad,v 1.5 2006/10/23 12:29:56 tron Exp $ +$NetBSD: patch-ad,v 1.6 2010/03/11 12:46:42 drochner Exp $ ---- src/file.c.orig 2005-08-10 13:33:21.000000000 +0200 +--- src/file.c.orig 2005-08-10 11:33:21.000000000 +0000 +++ src/file.c +@@ -199,7 +199,7 @@ file_getTmpFilename(baseDirectory,baseFi + #ifdef VMS + sprintf(tempFilename,"%sgv_%lx_%x_%s_%s.tmp",tmpDirBuf,time(NULL),i,tmpName,tmpExt); + #else +- sprintf(tempFilename,"%sgv_%lx_%x_%s.%s.tmp",tmpDirBuf,time(NULL),i,tmpName,tmpExt); ++ sprintf(tempFilename,"%sgv_%llx_%x_%s.%s.tmp",tmpDirBuf,(long long)time(NULL),i,tmpName,tmpExt); + #endif + file_translateTildeInPath(tempFilename); + no_such_file = stat(tempFilename,&s); @@ -265,6 +265,9 @@ int file_fileIsDir(fn) /* file_fileIsNotUseful */ /*############################################################*/ |