From f96441b9faf769c9ecdd4d338b605ea3d0cc4010 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 9 Nov 2004 00:36:47 +0000 Subject: Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches. BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA --- metalog/metalog-0.7/crosscompile.patch | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'metalog') diff --git a/metalog/metalog-0.7/crosscompile.patch b/metalog/metalog-0.7/crosscompile.patch index e69de29bb2..9c85eb30f0 100644 --- a/metalog/metalog-0.7/crosscompile.patch +++ b/metalog/metalog-0.7/crosscompile.patch @@ -0,0 +1,44 @@ +diff -ur metalog-0.7_org/configure.ac metalog-0.7_patch/configure.ac +--- metalog-0.7_org/configure.ac 2003-04-06 23:21:05.000000000 +0200 ++++ metalog-0.7_patch/configure.ac 2004-07-19 14:41:48.226352264 +0200 +@@ -162,39 +162,6 @@ + + dnl Custom checks + +-AC_MSG_CHECKING(whether snprintf is C99 conformant) +-AC_TRY_RUN([ +-#include +-#ifdef STDC_HEADERS +-# include +-# include +-#else +-# if HAVE_STDLIB_H +-# include +-# endif +-#endif +-#ifdef HAVE_UNISTD_H +-# include +-#endif +- +-int main(void) +-{ +- char buf[4]; +- +- (void) fprintf(fopen("conftestval", "wt"), "%d\n", +- (int) snprintf(buf, sizeof buf, "12345678")); +- return 0; +-} +-], +-CONF_SNPRINTF_TYPE=`cat conftestval` +-) +-AC_MSG_RESULT(done) +-if test "x$CONF_SNPRINTF_TYPE" = "x" ; then +- AC_MSG_WARN(your operating system doesn't implement snprintf) +-else +- AC_DEFINE_UNQUOTED(CONF_SNPRINTF_TYPE, $CONF_SNPRINTF_TYPE, [return value of an overflowed snprintf]) +-fi +- + dnl Options + + AM_WITH_DMALLOC + -- cgit v1.2.3