From 6adbcf3963b0d9784442c5b7aa77bf0b88635500 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Fri, 12 Feb 2010 19:39:15 +0100 Subject: wt3: added recipe for 3.1.0a Signed-off-by: Frans Meulenbroeks --- recipes/wt/wt3-3.1.0a/noqt.patch | 19 +++++++++++++++++++ recipes/wt/wt3-3.1.0a/wgooglemap.patch | 17 +++++++++++++++++ recipes/wt/wt3_3.1.0a.bb | 11 +++++++++++ 3 files changed, 47 insertions(+) create mode 100644 recipes/wt/wt3-3.1.0a/noqt.patch create mode 100644 recipes/wt/wt3-3.1.0a/wgooglemap.patch create mode 100644 recipes/wt/wt3_3.1.0a.bb (limited to 'recipes/wt') diff --git a/recipes/wt/wt3-3.1.0a/noqt.patch b/recipes/wt/wt3-3.1.0a/noqt.patch new file mode 100644 index 0000000000..48231246d3 --- /dev/null +++ b/recipes/wt/wt3-3.1.0a/noqt.patch @@ -0,0 +1,19 @@ +Index: wt-3.0.0/CMakeLists.txt +=================================================================== +--- wt-3.0.0.orig/CMakeLists.txt 2009-11-12 18:50:12.087842114 +0100 ++++ wt-3.0.0/CMakeLists.txt 2009-11-12 18:50:42.023261611 +0100 +@@ -111,10 +111,10 @@ + INCLUDE(cmake/WtFindSsl.txt) + INCLUDE(cmake/WtFindMysqlpp.txt) + +-FIND_PACKAGE(Qt4) +-IF(QT_FOUND) +- INCLUDE(${QT_USE_FILE}) +-ENDIF(QT_FOUND) ++#FIND_PACKAGE(Qt4) ++#IF(QT_FOUND) ++# INCLUDE(${QT_USE_FILE}) ++#ENDIF(QT_FOUND) + + # Boost is used nearly everywhere, so we can put these here + INCLUDE_DIRECTORIES(${BOOST_INCLUDE_DIRS}) diff --git a/recipes/wt/wt3-3.1.0a/wgooglemap.patch b/recipes/wt/wt3-3.1.0a/wgooglemap.patch new file mode 100644 index 0000000000..6827afbbe7 --- /dev/null +++ b/recipes/wt/wt3-3.1.0a/wgooglemap.patch @@ -0,0 +1,17 @@ +Index: wt-3.0.0/src/Wt/WGoogleMap.C +=================================================================== +--- wt-3.0.0.orig/src/Wt/WGoogleMap.C 2009-09-01 17:46:54.000000000 +0200 ++++ wt-3.0.0/src/Wt/WGoogleMap.C 2009-11-12 16:23:39.614976154 +0100 +@@ -26,6 +26,12 @@ + using std::min; + using std::max; + ++#if not defined(_GLIBCXX_HAVE__SINL) && not defined(acosl) ++#define cosl cos ++#define acosl acos ++#define sinl sin ++#endif ++ + #ifndef M_PI + #define M_PI 3.14159265358979323846 + #endif diff --git a/recipes/wt/wt3_3.1.0a.bb b/recipes/wt/wt3_3.1.0a.bb new file mode 100644 index 0000000000..8072ba98b7 --- /dev/null +++ b/recipes/wt/wt3_3.1.0a.bb @@ -0,0 +1,11 @@ +require wt3.inc + +PR = "${INC_PR}.0" + +SRC_URI += "file://noqt.patch;patch=1" + +SRC_URI[tarball.md5sum] = "9b2f4abc2e50d1fa15648834f5830d87" +SRC_URI[tarball.sha256sum] = "97c8ddcd690381c4cd787b0099e753954c11016321fa991268c92276351fbc4c" + +S = "${WORKDIR}/wt-3.1.0" + -- cgit 1.2.3-korg