tag 667428 patch thanks Matthias Klose <d...@debian.org> (03/04/2012): > Package: zoneminder > Version: 1.25.0-1 > Severity: important > Tags: sid wheezy > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-4.7
Please find attached a patch to fix that. Please also note that I don't intend to upload it myself. Mraw, KiBi.
diff -Nru zoneminder-1.25.0/debian/changelog zoneminder-1.25.0/debian/changelog --- zoneminder-1.25.0/debian/changelog 2012-01-16 20:00:09.000000000 +0000 +++ zoneminder-1.25.0/debian/changelog 2012-04-04 13:10:58.000000000 +0000 @@ -1,3 +1,10 @@ +zoneminder (1.25.0-1.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes (Closes: #667428). + + -- Cyril Brulebois <k...@debian.org> Wed, 04 Apr 2012 13:10:29 +0000 + zoneminder (1.25.0-1) unstable; urgency=low * Fix typo in libv4l1-videodev.h patch that caused v4l1 support to be diff -Nru zoneminder-1.25.0/debian/patches/Fix-FTBFS-with-gcc-4.7 zoneminder-1.25.0/debian/patches/Fix-FTBFS-with-gcc-4.7 --- zoneminder-1.25.0/debian/patches/Fix-FTBFS-with-gcc-4.7 1970-01-01 00:00:00.000000000 +0000 +++ zoneminder-1.25.0/debian/patches/Fix-FTBFS-with-gcc-4.7 2012-04-04 13:11:38.000000000 +0000 @@ -0,0 +1,23 @@ +Description: Fix FTBFS with gcc 4.7 +Author: Cyril Brulebois <k...@debian.org> +Bug-Debian: http://bugs.debian.org/667428 +--- zoneminder-1.25.0.orig/src/zm_thread.h ++++ zoneminder-1.25.0/src/zm_thread.h +@@ -21,6 +21,7 @@ + #define ZM_THREAD_H + + #include <pthread.h> ++#include <unistd.h> + #include "zm_exception.h" + #include "zm_utils.h" + +--- zoneminder-1.25.0.orig/src/zm_logger.cpp ++++ zoneminder-1.25.0/src/zm_logger.cpp +@@ -33,6 +33,7 @@ + #include <signal.h> + #include <stdarg.h> + #include <errno.h> ++#include <unistd.h> + + bool Logger::smInitialised = false; + Logger *Logger::smInstance = 0; diff -Nru zoneminder-1.25.0/debian/patches/series zoneminder-1.25.0/debian/patches/series --- zoneminder-1.25.0/debian/patches/series 2012-01-15 22:22:46.000000000 +0000 +++ zoneminder-1.25.0/debian/patches/series 2012-04-04 13:11:19.000000000 +0000 @@ -9,3 +9,4 @@ #07_fix_ffmpeg_defaults.dpatch - database population chanaged: revisit zm-ffmpeg-as-c-library include-avutil-mathematics-header +Fix-FTBFS-with-gcc-4.7
signature.asc
Description: Digital signature