Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / print / ghostscript-gpl / patches / patch-ai
blobd8e77837977d198a69194fa2deb2352f6a6c49ed
1 $NetBSD: patch-ai,v 1.5 2012/10/07 14:19:18 mef Exp $
3 replace BSD/Linux specific "qd" printf format specifier by "lld",
4 should fix build problem on Solaris reported by Joern Clausen
5 per PR pkg/40664
7 --- base/mkromfs.c.orig 2009-02-13 12:20:54.000000000 +0100
8 +++ base/mkromfs.c
9 @@ -1033,7 +1033,7 @@
10  #endif
11      fprintf(out,"\n#include \"stdint_.h\"\n");
12      fprintf(out,"\n#include \"time_.h\"\n\n");
13 -    fprintf(out,"    time_t gs_romfs_buildtime = %ld;\n\n", time(NULL));
14 +    fprintf(out,"    time_t gs_romfs_buildtime = %lld;\n\n", (long long)time(NULL));
16      /* process the remaining arguments (options interspersed with paths) */
17      for (; atarg < argc; atarg++) {