Package: cvsnt Version: 2.5.03.2382-3.3 Severity: normal Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu jaunty ubuntu-patch
Hi, You package failed to build in Ubuntu where we currently use a newer compiler that is more strict about #includes: http://launchpadlibrarian.net/19861997/buildlog_ubuntu-jaunty-armel.cvsnt_2.5.03.2382-3.3_FAILEDTOBUILD.txt.gz triggers/{info,email}_triggers.cpp both use PATH_MAX, but they do not include limits.h. The below patch rectifies this, please consider applying it. Thanks, James --- cvsnt-2.5.03.2382.orig/triggers/email_trigger.cpp +++ cvsnt-2.5.03.2382/triggers/email_trigger.cpp @@ -42,6 +42,9 @@ #ifdef HAVE_UNISTD_H #include <unistd.h> #endif +#ifdef HAVE_LIMITS_H +#include <limits.h> +#endif #define MODULE email only in patch2: unchanged: --- cvsnt-2.5.03.2382.orig/triggers/info_trigger.cpp +++ cvsnt-2.5.03.2382/triggers/info_trigger.cpp @@ -36,6 +36,9 @@ #ifdef HAVE_UNISTD_H #include <unistd.h> #endif +#ifdef HAVE_LIMITS_H +#include <limits.h> +#endif #define MODULE info -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]