The FTBFS is caused by a rather hacky patch[1] I included in -3 to fix an FTBFS
in s390[2].

Is there a better way of doing this without rewriting the parts of the library
that use the NEED_SIZET macro to use templates? Specifically, it looks like I
would need a preprocessor conditional to check whether size_t is unsigned int or
unsigned long.
I don't know any way to do a preproccessor conditional for it directly but I have figured out
a way to find it from within a script or makefile.

here's a makefile snippet that figures it out (should be easy to turn it into a shell script
fragment if that is more conviniant for you).

ifneq (,$(findstring long,$(shell echo __SIZE_TYPE__ | cpp -P)))
 CFLAGS += -dSIZE_T_IS_LONG
endif



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to