--- /dev/null
+--- ZoneMinder-1.24.2/src/zm_utils.cpp.org 2009-07-12 19:45:34.387460575 +0200
++++ ZoneMinder-1.24.2/src/zm_utils.cpp 2009-07-12 19:46:00.454902859 +0200
+@@ -21,6 +21,7 @@
+ #include "zm_utils.h"
+
+ #include <stdarg.h>
++#include <stdio.h>
+
+ const std::string stringtf( const char *format, ... )
+ {
Summary: Zone Minder is a software motion detector with nice WWW GUI
Summary(pl.UTF-8): Zone Minder - programowy wykrywacz ruchu z miłym GUI przez WWW
Name: zoneminder
-Version: 1.24.1
-Release: 2
+Version: 1.24.2
+Release: 1
License: GPL v2
Group: Applications/Graphics
Source0: http://www.zoneminder.com/downloads/ZoneMinder-%{version}.tar.gz
-# Source0-md5: 1e4ce392d645cbb28037ecebc5a56584
+# Source0-md5: 550d2f8f08852134028c3b1cf8fa437f
Source1: zm-init
Source2: zm.conf
Source3: zm-logrotate_d
Source5: mootools.js
Patch0: zm-fedora.patch
Patch1: %{name}-xlib_shm.patch
+Patch2: %{name}-build.patch
URL: http://www.zoneminder.com/
BuildRequires: autoconf
BuildRequires: automake
cd xlib_shm-*
%patch1 -p1
cd ..
+%patch2 -p1
sed -i -e 's#-frepo##g' src/Makefile.am
sed -i -e 's#chown#true#g' -e 's#chmod#true#g' *.am */*.am */*/*.am