Attached is a patch to fix this bug. We simply don't use -Wno-long-double.

-- 
Regards,
Andres
--- crystalspace-1.2-20080206.old/debian/rules	2008-10-07 22:38:10.000000000 -0400
+++ crystalspace-1.2-20080206/debian/rules	2008-10-07 21:55:16.000000000 -0400
@@ -74,8 +74,12 @@
 	#  this is adding #define CS_NO_QSQRT in CS/include/volatile.h
 	# Don't support until this is dynamic lib
 	# --enable-meta-info-embedding was by default before (enbed .csplugin info)
+	# Use cs_cv_prog_cxx_ignore_long_double_ok=no to disable use of
+	# -Wno-long-double. (Closes: #471057).
 	perl -pi -e "s:\[crystal\]:\[crystalspace\]:" $(CURDIR)/CS/configure.ac
-	cd CS; ./bin/autogen.sh ; cs_cv_prog_cxx_local_include=no ./configure $(CONFDIR) $(CPUOPTIM) $(PYTHON) $(NEWRENDERER) $(CONFFLAG)
+	cd CS; ./bin/autogen.sh ; cs_cv_prog_cxx_local_include=no \
+		cs_cv_prog_cxx_ignore_long_double_ok=no \
+		./configure $(CONFDIR) $(CPUOPTIM) $(PYTHON) $(NEWRENDERER) $(CONFFLAG)
 
 	# Install as much as possible
 	#perl -pi -e "s/#TO_INSTALL/TO_INSTALL/" $(CURDIR)/CS/cache.mak

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to