From 4d4ab8fd320b58323033c12cf705e7b3ce10d659 Mon Sep 17 00:00:00 2001 From: YangHaibo Date: Tue, 5 Aug 2014 15:31:33 +0800 Subject: integrate fcgi-2.4.0 and add OML license file Signed-off-by: YangHaibo Signed-off-by: Paul Eggleton --- .../fcgi/Fix_EOF_not_declared_issue.patch | 17 +++++++++++++++++ .../fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch create mode 100644 meta-webserver/recipes-support/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch (limited to 'meta-webserver/recipes-support/fcgi') diff --git a/meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch b/meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch new file mode 100644 index 0000000000..51ddeaac22 --- /dev/null +++ b/meta-webserver/recipes-support/fcgi/Fix_EOF_not_declared_issue.patch @@ -0,0 +1,17 @@ +Upstream-Status: Pending + +Fix EOF not declared issue, following is the error log. +fcgio.cpp:70:72: error: 'EOF' was not declared in this scope + if (FCGX_PutStr(pbase(), plen, this->fcgx) != plen) return EOF; + +Signed-off-by: Yang Haibo +--- fcgi-ori/libfcgi/fcgio.cpp 2014-07-28 18:01:00.000000000 +0800 ++++ fcgi-2.4.0/libfcgi/fcgio.cpp 2014-07-28 18:01:22.000000000 +0800 +@@ -22,6 +22,7 @@ + #define DLLAPI __declspec(dllexport) + #endif + ++#include + #include + #include "fcgio.h" + diff --git a/meta-webserver/recipes-support/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch b/meta-webserver/recipes-support/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch new file mode 100644 index 0000000000..eca694adc9 --- /dev/null +++ b/meta-webserver/recipes-support/fcgi/add_foreign_to_AM_INIT_AUTOMAKE.patch @@ -0,0 +1,18 @@ +Upstream-Status: Pending + +use automake options "foreign" to set the strictness as appropriate + +Signed-off-by: Yang Haibo +--- fcgi-ori/configure.in 2014-08-05 14:58:35.000000000 +0800 ++++ fcgi-2.4.0/configure.in 2014-08-05 14:59:08.000000000 +0800 +@@ -4,8 +4,8 @@ + dnl generate the file "configure", which is run during the build + dnl to configure the system for the local environment. + +-AC_INIT +-AM_INIT_AUTOMAKE(fcgi, 2.4.0) ++AC_INIT([fcgi], [2.4.0]) ++AM_INIT_AUTOMAKE([foreign]) + + AM_CONFIG_HEADER(fcgi_config.h) + -- cgit 1.2.3-korg