help-libtasn1
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtasn1 compilation fix on Solaris 9


From: Simon Josefsson
Subject: Re: libtasn1 compilation fix on Solaris 9
Date: Mon, 07 Jun 2010 09:45:30 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Thomas Klausner <address@hidden> writes:

> Hi!
>
> Please apply the attached patch. address@hidden added it to
> pkgsrc with the following commit message:

Hi, and thanks for forwarding this upstream.

The patch looks wrong to me, though, because stdint.h should be
generated in lib/gllib/ if the system does not have it (or if it is not
correct), and the -I's should make the code find the local file instead.
Thus, the code should be able to unconditionally include the header
file.

Could you quote the build command and error message when the patch is
not used?  As far as I can tell, the patch should not be necessary.

/Simon

> revision 1.1
> date: 2008/04/30 11:39:24;  author: shannonjr;  state: Exp;
> Add patch to conditionally include <stdint.h> based on the symbol
> HAVE_STDINT_H generated by configure. This is required for
> compilation on Solaris 9.
>
> It still applies cleanly against libtasn1-2.7.
>
> Thanks,
>  Thomas
> $NetBSD: patch-aa,v 1.1 2008/04/30 11:39:24 shannonjr Exp $
>
> --- ./lib/int.h.orig  2008-04-30 05:06:07.085583902 -0600
> +++ ./lib/int.h
> @@ -31,7 +31,10 @@
>  #include <stdlib.h>
>  #include <stdio.h>
>  #include <ctype.h>
> +
> +#ifdef HAVE_STDINT_H
>  #include <stdint.h>
> +#endif
>  
>  #ifdef HAVE_SYS_TYPES_H
>  # include <sys/types.h>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]