Группа :: Система/Библиотеки
Пакет: libmemcache
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: libmemcache-1.4.0.b9-alt-test.patch
diff -urNp libmemcache-1.4.0.b9.orig/configure.ac libmemcache-1.4.0.b9/configure.ac
--- libmemcache-1.4.0.b9.orig/configure.ac 2005-09-25 22:10:18 +0400
+++ libmemcache-1.4.0.b9/configure.ac 2005-10-31 02:00:00 +0300
@@ -155,6 +155,10 @@ AC_FUNC_MALLOC
AC_FUNC_MEMCMP
AC_FUNC_SELECT_ARGTYPES
AC_CHECK_FUNCS([bzero gettimeofday memchr memset select socket strerror strtol])
+AM_PATH_CHECK(,[have_check="yes"],
+ AC_MSG_WARN([Check not found; cannot run unit tests!])
+ [have_check="no"])
+AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
dnl BEGIN debug CFLAGS
AC_MSG_CHECKING([for enabled debug CFLAGS])
diff -urNp libmemcache-1.4.0.b9.orig/test/unit/check_buffer.c libmemcache-1.4.0.b9/test/unit/check_buffer.c
--- libmemcache-1.4.0.b9.orig/test/unit/check_buffer.c 2005-09-16 20:35:17 +0400
+++ libmemcache-1.4.0.b9/test/unit/check_buffer.c 2005-10-31 02:47:51 +0300
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <string.h>
-#include "buffer.h"
+#include "memcache/buffer.h"
#include "memcache.h"
Suite *buffer_suite(void);