---
debian/changelog | 4 ++++
debian/patches/00list | 1 +
debian/patches/fix-cmp0004-build-failure.dpatch | 18 ++++++++++++++++++
3 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 debian/patches/fix-cmp0004-build-failure.dpatch
diff --git a/debian/changelog b/debian/changelog
index 16c7778..1c70a28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ openscenegraph (2.4.0-1.1) unstable; urgency=low
CPUs are available, fixing the FTBFS (due to -j0) on various platforms
(Closes: #477353). The right way to do it is to support parallel=n in
DEB_BUILD_OPTIONS, see Debian Policy §4.9.1.
+ * Add patch to fix FTBFS due to the build system now refusing to handle
+ whitespaces (Policy CMP0004 say the logs), thanks to Andreas Putzo who
+ provided it (Closes: #482239):
+ - debian/patches/fix-cmp0004-build-failure.dpatch
-- Cyril Brulebois <[EMAIL PROTECTED]> Tue, 29 Jul 2008 04:34:38 +0200
diff --git a/debian/patches/00list b/debian/patches/00list
index cecdf80..0019420 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1,2 +1,3 @@
openscenegraph.dpatch
protected.dpatch
+fix-cmp0004-build-failure.dpatch
diff --git a/debian/patches/fix-cmp0004-build-failure.dpatch
b/debian/patches/fix-cmp0004-build-failure.dpatch
new file mode 100644
index 0000000..6a1c2de
--- /dev/null
+++ b/debian/patches/fix-cmp0004-build-failure.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## cmake.dpatch by Andreas Putzo <[EMAIL PROTECTED]>
+##
+## DP: Fix for cmake policy CMP0004.
+
[EMAIL PROTECTED]@
+diff -urNad
openscenegraph-2.4.0~/OpenSceneGraph/src/OpenThreads/pthreads/CMakeLists.txt
openscenegraph-2.4.0/OpenSceneGraph/src/OpenThreads/pthreads/CMakeLists.txt
+---
openscenegraph-2.4.0~/OpenSceneGraph/src/OpenThreads/pthreads/CMakeLists.txt
2008-07-29 23:55:09.000000000 +0000
++++
openscenegraph-2.4.0/OpenSceneGraph/src/OpenThreads/pthreads/CMakeLists.txt
2008-07-29 23:55:33.000000000 +0000
+@@ -23,7 +23,7 @@
+ )
+
+ SET(CMAKE_REQUIRED_LIBRARIES_SAFE "${CMAKE_REQUIRED_LIBRARIES}")
+-SET(CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}")
++SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
+
+ CHECK_FUNCTION_EXISTS(pthread_yield HAVE_PTHREAD_YIELD)
+ IF(HAVE_PTHREAD_YIELD)
--
1.5.6.2
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]