[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#773011: unblock: libcwd/1.0.4-1.1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package libcwd.

libcwd/1.0.4-1.1 fixes bug 771876, which reported that libcwd failed to build
because it specified default arguments on declarations of member functions
after the first declaration.  The attached patch fixes this problem by
specifying the default arguments on the first declarations.

The changes are attached.

unblock libcwd/1.0.4-1.1

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
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 <kraai@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 <kraai@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

Reply to: