tags 474530 + patch tags 455673 + patch thanks (CCing Alexander and James who were interested in NMUing this a while back).
Hi! Please find attached a patch to fix this bug. I now can say for sure that this fixes the FTBFS, but it fails to build with the new g++ snapshot (4.4.0). But I guess that's for later. HTH. Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036
--- debian-xcontrol-0.0.2~pre1+nmu1/src/attribute.h 2007-08-16 23:40:18.000000000 +0530 +++ debian-xcontrol-0.0.2~pre1+nmu2/src/attribute.h 2008-04-26 11:07:13.000000000 +0530 @@ -2,6 +2,7 @@ #define xcontrol_attribute_h_ 1 #include <stdexcept> +#include <memory> template<typename Visible_> class attribute diff -Nru /tmp/dkuJiqGtKJ/debian-xcontrol-0.0.2~pre1+nmu1/src/binary_section.h /tmp/MotKcEsqQp/debian-xcontrol-0.0.2~pre1+nmu2/src/binary_section.h --- debian-xcontrol-0.0.2~pre1+nmu1/src/binary_section.h 2007-09-10 01:34:10.000000000 +0530 +++ debian-xcontrol-0.0.2~pre1+nmu2/src/binary_section.h 2008-04-26 11:17:26.000000000 +0530 @@ -16,7 +16,7 @@ typedef std::string attribute_selector_type; - typedef attribute<std::string> attribute; + typedef ::attribute<std::string> attribute; attribute operator[](attribute_selector_type const &); diff -Nru /tmp/dkuJiqGtKJ/debian-xcontrol-0.0.2~pre1+nmu1/src/command.cc /tmp/MotKcEsqQp/debian-xcontrol-0.0.2~pre1+nmu2/src/command.cc --- debian-xcontrol-0.0.2~pre1+nmu1/src/command.cc 2007-08-19 06:53:49.000000000 +0530 +++ debian-xcontrol-0.0.2~pre1+nmu2/src/command.cc 2008-04-26 11:19:46.000000000 +0530 @@ -10,6 +10,8 @@ #include <cerrno> +#include <cstring> + extern "C" { #include <sys/types.h> #include <sys/time.h> diff -Nru /tmp/dkuJiqGtKJ/debian-xcontrol-0.0.2~pre1+nmu1/src/.gitignore /tmp/MotKcEsqQp/debian-xcontrol-0.0.2~pre1+nmu2/src/.gitignore --- debian-xcontrol-0.0.2~pre1+nmu1/src/source_section.h 2007-08-17 01:20:47.000000000 +0530 +++ debian-xcontrol-0.0.2~pre1+nmu2/src/source_section.h 2008-04-26 11:30:24.000000000 +0530 @@ -14,7 +14,7 @@ public: source_section(package_name const &); - typedef attribute<std::string> attribute; + typedef ::attribute<std::string> attribute; typedef std::string attribute_selector_type;
signature.asc
Description: Digital signature