diff options
author | drochner <drochner@pkgsrc.org> | 2009-02-16 16:31:30 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-02-16 16:31:30 +0000 |
commit | 172c89eacbdcb6fe48219c02ea8a0398dc788d94 (patch) | |
tree | 50214c3e0e48fc38f5ef25b4aef8898ca3501fdc /print/ghostscript/patches | |
parent | f3b422088ac5aa1314e06f4577500f429ba38d5c (diff) | |
download | pkgsrc-172c89eacbdcb6fe48219c02ea8a0398dc788d94.tar.gz |
replace BSD/Linux specific "qd" printf format specifier by "lld",
should fix build problem on Solaris reported by Joern Clausen
per PR pkg/40664
Diffstat (limited to 'print/ghostscript/patches')
-rw-r--r-- | print/ghostscript/patches/patch-ai | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print/ghostscript/patches/patch-ai b/print/ghostscript/patches/patch-ai index 7355aa8b940..337d58b866a 100644 --- a/print/ghostscript/patches/patch-ai +++ b/print/ghostscript/patches/patch-ai @@ -1,4 +1,4 @@ -$NetBSD: patch-ai,v 1.3 2009/02/13 15:31:35 drochner Exp $ +$NetBSD: patch-ai,v 1.4 2009/02/16 16:31:30 drochner Exp $ --- base/mkromfs.c.orig 2009-02-13 12:20:54.000000000 +0100 +++ base/mkromfs.c @@ -7,7 +7,7 @@ $NetBSD: patch-ai,v 1.3 2009/02/13 15:31:35 drochner Exp $ fprintf(out,"\n#include \"stdint_.h\"\n"); fprintf(out,"\n#include \"time_.h\"\n\n"); - fprintf(out," time_t gs_romfs_buildtime = %ld;\n\n", time(NULL)); -+ fprintf(out," time_t gs_romfs_buildtime = %qd;\n\n", (int64_t)time(NULL)); ++ fprintf(out," time_t gs_romfs_buildtime = %lld;\n\n", (long long)time(NULL)); /* process the remaining arguments (options interspersed with paths) */ for (; atarg < argc; atarg++) { |