[64855] trunk/dports/print/ghostscript
nox
nox at macports.org
Tue Mar 16 11:43:04 PDT 2010
That's good. But now it does not use the 64 bits API on 32 bits system.
I'm pretty sure it should be instead replaced by:
#define _FILE_OFFSET_BITS 64
Regards,
Anthony.
Le 16 mars 2010 à 15:47, takanori at macports.org a écrit :
> Revision
> 64855
> Author
> takanori at macports.org
> Date
> 2010-03-16 07:47:04 -0700 (Tue, 16 Mar 2010)
> Log Message
>
> ghostscript: eliminated _LARGEFILE64_SOURCE definition in base/stdpre.h (#24061)
> Modified Paths
>
> • trunk/dports/print/ghostscript/Portfile
> Added Paths
>
> • trunk/dports/print/ghostscript/files/patch-base_stdpre.h.diff
> Diff
>
> Modified: trunk/dports/print/ghostscript/Portfile (64854 => 64855)
>
> --- trunk/dports/print/ghostscript/Portfile 2010-03-16 14:46:26 UTC (rev 64854)
> +++ trunk/dports/print/ghostscript/Portfile 2010-03-16 14:47:04 UTC (rev 64855)
>
> @@ -18,7 +18,8 @@
>
> sourceforge:gs-fonts:fonts
>
> distfiles ${distname}.tar.gz:source \
>
> ghostscript-fonts-other-6.0.tar.gz:fonts
>
> -patchfiles patch-base_unix-dll.mak.diff
>
> +patchfiles patch-base_unix-dll.mak.diff \
> + patch-base_stdpre.h.diff
>
> checksums ${distname}.tar.gz rmd160 efce74cf22cf99b2b1a145df466e79a86e3dfefb \
>
> ghostscript-fonts-other-6.0.tar.gz rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f
>
>
>
> Added: trunk/dports/print/ghostscript/files/patch-base_stdpre.h.diff (0 => 64855)
>
> --- trunk/dports/print/ghostscript/files/patch-base_stdpre.h.diff (rev 0)
> +++ trunk/dports/print/ghostscript/files/patch-base_stdpre.h.diff 2010-03-16 14:47:04 UTC (rev 64855)
>
> @@ -0,0 +1,12 @@
>
> +--- base/stdpre.h.orig 2007-09-25 22:31:24.000000000 +0900
> ++++ base/stdpre.h 2010-03-16 23:06:55.000000000 +0900
> +@@ -17,9 +17,6 @@
> + #ifndef stdpre_INCLUDED
> + # define stdpre_INCLUDED
> +
> +-/* Ghostscript uses transitional LFS functions. */
> +-#define _LARGEFILE64_SOURCE 1
> +-
> + /*
> + * Here we deal with the vagaries of various C compilers. We assume that:
> + * ANSI-standard Unix compilers define __STDC__.
>
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes
More information about the macports-dev
mailing list