[SCM] ViennaCL packaging branch, master, updated. debian/1.2.0-1-23-gcc71e86

Michael Wild themiwi at users.sourceforge.net
Wed May 30 06:53:52 UTC 2012


The following commit has been merged in the master branch:
commit a43ff39ce3237a82a6b5400018e23f02b6a4b9ef
Author: Michael Wild <themiwi at users.sourceforge.net>
Date:   Tue May 29 16:52:06 2012 +0200

    Add 0001-Add-virtual-dtor-to-abstract-result_of-class.patch
    
    Signed-off-by: Michael Wild <themiwi at users.sourceforge.net>

diff --git a/debian/patches/0001-Add-virtual-dtor-to-abstract-result_of-class.patch b/debian/patches/0001-Add-virtual-dtor-to-abstract-result_of-class.patch
new file mode 100644
index 0000000..fa1d7da
--- /dev/null
+++ b/debian/patches/0001-Add-virtual-dtor-to-abstract-result_of-class.patch
@@ -0,0 +1,27 @@
+From: Michael Wild <themiwi at users.sourceforge.net>
+Date: Tue, 29 May 2012 10:50:41 +0200
+Subject: Add virtual dtor to abstract result_of class
+
+Otherwise its default dtor will not be called from the derived-class
+dtor.
+
+Bug: https://sourceforge.net/tracker/?func=detail&aid=3530454&group_id=322140&atid=1353702
+Forwarded: https://sourceforge.net/tracker/download.php?group_id=322140&atid=1353702&file_id=444734&aid=3530454
+Signed-off-by: Michael Wild <themiwi at users.sourceforge.net>
+---
+ viennacl/generator/traits/result_of.hpp |    1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/viennacl/generator/traits/result_of.hpp b/viennacl/generator/traits/result_of.hpp
+index a4a7d59..00a7522 100644
+--- a/viennacl/generator/traits/result_of.hpp
++++ b/viennacl/generator/traits/result_of.hpp
+@@ -51,6 +51,7 @@ namespace viennacl
+         public:
+ 	        runtime_wrapper(bool _is_temporary, std::string const & _name, int _arg_id) 
+ 	         : is_temporary_(_is_temporary), name_(_name), arg_id_(_arg_id) {}
++	        virtual ~runtime_wrapper() {}
+ 	         
+ 	        bool is_temporary() const { return is_temporary_; }
+ 	        int arg_id() const { return arg_id_; }
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8e39fab
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-virtual-dtor-to-abstract-result_of-class.patch

-- 
ViennaCL packaging



More information about the debian-science-commits mailing list