Control: tags 771876 + patch Control: tags 771876 + pending Hi,
I've prepared an NMU for libcwd (versioned as 1.0.4-1.1) and uploaded it. -- Matt
diff -Nru libcwd-1.0.4/debian/changelog libcwd-1.0.4/debian/changelog --- libcwd-1.0.4/debian/changelog 2010-06-14 06:10:45.000000000 -0700 +++ libcwd-1.0.4/debian/changelog 2014-12-12 20:47:49.000000000 -0800 @@ -1,3 +1,10 @@ +libcwd (1.0.4-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Move default arguments to first declarations. Closes: #771876. + + -- Matt Kraai <kr...@debian.org> Fri, 12 Dec 2014 20:47:49 -0800 + libcwd (1.0.4-1) unstable; urgency=low * Upgrade to version 1.0.4. diff -Nru libcwd-1.0.4/debian/patches/move-default-arguments-to-first-declarations.patch libcwd-1.0.4/debian/patches/move-default-arguments-to-first-declarations.patch --- libcwd-1.0.4/debian/patches/move-default-arguments-to-first-declarations.patch 1969-12-31 16:00:00.000000000 -0800 +++ libcwd-1.0.4/debian/patches/move-default-arguments-to-first-declarations.patch 2014-12-12 20:38:02.000000000 -0800 @@ -0,0 +1,48 @@ +Description: Move default arguments to first declarations + "Porting to GCC 4.9" indicates that GCC 4.9, unlike previous GCC + versions, enforces the C++ standard by requiring that default + arguments must be specified when a member function is first + declared. +Author: Matt Kraai <kr...@debian.org> +Last-Update: 2014-12-12 + +Index: libcwd-1.0.4/include/demangle.h +=================================================================== +--- libcwd-1.0.4.orig/include/demangle.h 2007-07-04 08:38:11.000000000 -0700 ++++ libcwd-1.0.4/include/demangle.h 2014-12-12 20:22:40.678938802 -0800 +@@ -242,7 +242,7 @@ + void + decode_qualifiers(string_type& prefix, + string_type& postfix, +- bool member_function_pointer_qualifiers) const; ++ bool member_function_pointer_qualifiers = false) const; + + bool + suppressed(void) const +@@ -425,7 +425,7 @@ + void + add_substitution(int start_pos, + substitution_nt sub_type, +- int number_of_prefixes); ++ int number_of_prefixes = 0); + + bool decode_type_with_postfix(string_type& prefix, + string_type& postfix, qualifier_list<Allocator>* qualifiers = NULL); +@@ -462,7 +462,7 @@ + void + session<Allocator>::add_substitution(int start_pos, + substitution_nt sub_type, +- int number_of_prefixes = 0) ++ int number_of_prefixes) + { + if (!M_inside_substitution) + { +@@ -1736,7 +1736,7 @@ + qualifier_list<Allocator>::decode_qualifiers( + string_type& prefix, + string_type& postfix, +- bool member_function_pointer_qualifiers = false) const ++ bool member_function_pointer_qualifiers) const + { + _GLIBCXX_DEMANGLER_DOUT_ENTERING3("decode_qualifiers"); + int cvq = 0; diff -Nru libcwd-1.0.4/debian/patches/series libcwd-1.0.4/debian/patches/series --- libcwd-1.0.4/debian/patches/series 1969-12-31 16:00:00.000000000 -0800 +++ libcwd-1.0.4/debian/patches/series 2014-12-12 20:43:14.000000000 -0800 @@ -0,0 +1 @@ +move-default-arguments-to-first-declarations.patch