http://www.zoneminder.com/wiki/index.php/Change_History#Release_1.24.4_-_2011.2F05.2F30; . remove patches that were incorporated upstream; . add a patch to fix zm_stream.cpp (add one byte to the path length); [1] . add one more site to MASTER_SITES. Submitted by: Vladimir Pushkar <vladimir.pushkar@gmail.com> (via email) [1]
38 lines
978 B
Text
38 lines
978 B
Text
--- configure.orig 2011-04-27 18:25:46.000000000 +0400
|
|
+++ configure 2011-05-05 18:40:08.676173137 +0400
|
|
@@ -2995,7 +2995,7 @@ fi
|
|
|
|
|
|
MYSQL_LIBS="-L${MYSQL_PREFIX}/${LIB_ARCH}/mysql"
|
|
-MYSQL_CFLAGS="-I${MYSQL_PREFIX}/include"
|
|
+MYSQL_CFLAGS="-I${MYSQL_PREFIX}/include/mysql"
|
|
|
|
|
|
|
|
@@ -6426,7 +6426,7 @@ if test "${ac_cv_lib_mysqlclient_mysql_i
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lmysqlclient $LIBS"
|
|
+LIBS="-lmysqlclient $LIBS -lz"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -6567,7 +6567,7 @@ if test "${ac_cv_lib_dl_dlsym+set}" = se
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-ldl $LIBS"
|
|
+LIBS="-lc $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -6602,7 +6602,7 @@ if test "x$ac_cv_lib_dl_dlsym" = x""yes;
|
|
#define HAVE_LIBDL 1
|
|
_ACEOF
|
|
|
|
- LIBS="-ldl $LIBS"
|
|
+ LIBS="-lc $LIBS"
|
|
|
|
else
|
|
as_fn_error "zm requires libdl.a" "$LINENO" 5
|