[Pkg-octave-devel] Sundials

Thomas Weber thomas.weber.mail at gmail.com
Thu Jun 8 15:13:15 UTC 2006


Hi, 

hmm, that's a weird one. Upstream does check for stdint.h, but it seems
to not be used at all?

Anyway, the relevant lines from stdint.h on AMD64 are:

=======================================================================
/* Types for `void *' pointers.  */
#if __WORDSIZE == 64
# ifndef __intptr_t_defined
typedef long int                intptr_t;
#  define __intptr_t_defined
# endif
typedef unsigned long int       uintptr_t;
#else
# ifndef __intptr_t_defined
typedef int                     intptr_t;
#  define __intptr_t_defined
# endif
typedef unsigned int            uintptr_t;
#endif
=======================================================================


I attach a new patch, which doesn't trigger the error messages. But I
think upstream should do this via stdint.h (after all, they are checking
for it in their configure.in).

	Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intptr.patch
Type: text/x-patch
Size: 2712 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20060608/5d886699/intptr.bin


More information about the Pkg-octave-devel mailing list